summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-02-15 01:33:18 +0000
committerSteve French <sfrench@us.ibm.com>2007-02-15 01:33:18 +0000
commitc14e894bd40868d6d1f2379705b68acf5288ba27 (patch)
tree66fb62dee94cdb23d941c3db7faca48bba44b35d /fs/cifs/inode.c
parent86a71dbd3e81e8870d0f0e56b87875f57e58222b (diff)
downloadtalos-op-linux-c14e894bd40868d6d1f2379705b68acf5288ba27.tar.gz
talos-op-linux-c14e894bd40868d6d1f2379705b68acf5288ba27.zip
[CIFS] fix &&/& typo in cifs_setattr()
Thanks to Dirk for pointing this out. Signed-off-by: Dirk Mueller <dmueller@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 3f5bc83dc3d1..e203f63c66d5 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1359,7 +1359,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
and this check ensures that we are not being called from
sys_utimes in which case we ought to fail the call back to
the user when the server rejects the call */
- if((rc) && (attrs->ia_valid &&
+ if((rc) && (attrs->ia_valid &
(ATTR_MODE | ATTR_GID | ATTR_UID | ATTR_SIZE)))
rc = 0;
}
OpenPOWER on IntegriCloud