diff options
author | Steve French <sfrench@us.ibm.com> | 2005-11-30 06:22:19 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-11-30 06:22:19 +0100 |
commit | 2a138ebb012ac42c082ae8b40c87c1f265664391 (patch) | |
tree | 181d9e6de5edd82eaf7d36c9946f93f68945ca2c /fs/cifs/inode.c | |
parent | Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git (diff) | |
download | linux-2a138ebb012ac42c082ae8b40c87c1f265664391.tar.xz linux-2a138ebb012ac42c082ae8b40c87c1f265664391.zip |
[CIFS] Missing parenthesis and typo in previous fix
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 053c1cadf703..e8773461c7f7 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -778,6 +778,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode) current->fsgid; } } + } } kfree(full_path); FreeXid(xid); @@ -1124,7 +1125,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs) cifs_sb = CIFS_SB(direntry->d_inode->i_sb); pTcon = cifs_sb->tcon; - if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM == 0) { + if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) == 0) { /* check if we have permission to change attrs */ rc = inode_change_ok(direntry->d_inode, attrs); if(rc < 0) { |