From: Jeff Layton Date: Thu, 18 Oct 2007 10:05:19 +0000 (-0700) Subject: knfsd: only set ATTR_KILL_S*ID if ATTR_MODE isn't being explicitly set X-Git-Tag: v2.6.24-rc1~402 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a0ce7d99a4d19788e017f3138bc59b9962057ae;p=pandora-kernel.git knfsd: only set ATTR_KILL_S*ID if ATTR_MODE isn't being explicitly set It's theoretically possible for a single SETATTR call to come in that sets the mode and the uid/gid. In that case, don't set the ATTR_KILL_S*ID bits since that would trip the BUG() in notify_change. Just fix up the mode to have the same effect. Signed-off-by: Jeff Layton Cc: Neil Brown Cc: "J. Bruce Fields" Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed