summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-11-18 12:27:27 -0800
committerSteve French <sfrench@us.ibm.com>2005-11-18 12:27:27 -0800
commitc119b87d596cdd99ac20095ae2ae90b525418605 (patch)
tree3a5967800f0c0fd0a3cee88217d90144c3a3b12f /fs/cifs/inode.c
parent3020a1f58c564e3060ec908c0c4f1b74a12e4280 (diff)
downloadlinux-stable-c119b87d596cdd99ac20095ae2ae90b525418605.tar.gz
linux-stable-c119b87d596cdd99ac20095ae2ae90b525418605.tar.bz2
linux-stable-c119b87d596cdd99ac20095ae2ae90b525418605.zip
[CIFS] Missing part of previous patch
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index ffc7305841b3..f0586c0d7bdb 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -279,6 +279,7 @@ static int get_sfu_uid_mode(struct inode * inode,
return (int)rc;
else if (rc > 3) {
mode = le32_to_cpu(*((__le32 *)ea_value));
+ inode->i_mode &= ~SFBITS_MASK;
cFYI(1,("special bits 0%o org mode 0%o", mode, inode->i_mode));
inode->i_mode = (mode & SFBITS_MASK) | inode->i_mode;
cFYI(1,("special mode bits 0%o", mode));