]> Git Repo - linux.git/commit - fs/cifs/inode.c
CIFS: ignore mode change if it's just for clearing setuid/setgid bits
authorJeff Layton <[email protected]>
Thu, 18 Oct 2007 10:05:22 +0000 (03:05 -0700)
committerLinus Torvalds <[email protected]>
Thu, 18 Oct 2007 21:37:22 +0000 (14:37 -0700)
commitd32c4f2626acc385d5187bd5c0c24f442328dc60
treecd08c94dcf8610c2c2cfc96e5abe744163f3a038
parent188b95dd8ecb02dd6c6e5534cddc5a89aa4e2852
CIFS: ignore mode change if it's just for clearing setuid/setgid bits

If the ATTR_KILL_S*ID bits are set then any mode change is only for clearing
the setuid/setgid bits.  For CIFS, skip the mode change and let the server
handle it.

Signed-off-by: Jeff Layton <[email protected]>
Cc: Steven French <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/cifs/inode.c
This page took 0.051064 seconds and 4 git commands to generate.