From: Jeff Layton Date: Mon, 23 Jul 2012 17:28:37 +0000 (-0400) Subject: cifs: move file_lock off stack in cifs_push_posix_locks X-Git-Tag: v3.6-rc1~85^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5fd363d771393a7b42bbbe051f30f97d4867a40;p=pandora-kernel.git cifs: move file_lock off stack in cifs_push_posix_locks struct file_lock is pretty large, so we really don't want that on the stack in a potentially long call chain. Reorganize the arguments to CIFSSMBPosixLock to eliminate the need for that. Eliminate the get_flag and simply use a non-NULL pLockInfo to indicate that this is a "get" operation. In order to do that, need to add a new loff_t argument for the start_offset. Reported-by: Al Viro Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed