diff options
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index b22379610d71..ad19007ea05f 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -1241,10 +1241,10 @@ mkdir_get_info: | |||
1241 | args.uid = NO_CHANGE_64; | 1241 | args.uid = NO_CHANGE_64; |
1242 | args.gid = NO_CHANGE_64; | 1242 | args.gid = NO_CHANGE_64; |
1243 | } | 1243 | } |
1244 | CIFSSMBUnixSetInfo(xid, pTcon, full_path, &args, | 1244 | CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, &args, |
1245 | cifs_sb->local_nls, | 1245 | cifs_sb->local_nls, |
1246 | cifs_sb->mnt_cifs_flags & | 1246 | cifs_sb->mnt_cifs_flags & |
1247 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1247 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1248 | } else { | 1248 | } else { |
1249 | if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && | 1249 | if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) && |
1250 | (mode & S_IWUGO) == 0) { | 1250 | (mode & S_IWUGO) == 0) { |
@@ -1876,10 +1876,10 @@ cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs) | |||
1876 | args->ctime = NO_CHANGE_64; | 1876 | args->ctime = NO_CHANGE_64; |
1877 | 1877 | ||
1878 | args->device = 0; | 1878 | args->device = 0; |
1879 | rc = CIFSSMBUnixSetInfo(xid, pTcon, full_path, args, | 1879 | rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, args, |
1880 | cifs_sb->local_nls, | 1880 | cifs_sb->local_nls, |
1881 | cifs_sb->mnt_cifs_flags & | 1881 | cifs_sb->mnt_cifs_flags & |
1882 | CIFS_MOUNT_MAP_SPECIAL_CHR); | 1882 | CIFS_MOUNT_MAP_SPECIAL_CHR); |
1883 | 1883 | ||
1884 | if (!rc) | 1884 | if (!rc) |
1885 | rc = inode_setattr(inode, attrs); | 1885 | rc = inode_setattr(inode, attrs); |