aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 0c7e36910e31..b06b60620240 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1324,10 +1324,6 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
1324/*BB check (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID ) to see if need 1324/*BB check (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID ) to see if need
1325 to set uid/gid */ 1325 to set uid/gid */
1326 inc_nlink(inode); 1326 inc_nlink(inode);
1327 if (pTcon->nocase)
1328 d_set_d_op(direntry, &cifs_ci_dentry_ops);
1329 else
1330 d_set_d_op(direntry, &cifs_dentry_ops);
1331 1327
1332 cifs_unix_basic_to_fattr(&fattr, pInfo, cifs_sb); 1328 cifs_unix_basic_to_fattr(&fattr, pInfo, cifs_sb);
1333 cifs_fill_uniqueid(inode->i_sb, &fattr); 1329 cifs_fill_uniqueid(inode->i_sb, &fattr);
@@ -1368,10 +1364,6 @@ mkdir_get_info:
1368 rc = cifs_get_inode_info(&newinode, full_path, NULL, 1364 rc = cifs_get_inode_info(&newinode, full_path, NULL,
1369 inode->i_sb, xid, NULL); 1365 inode->i_sb, xid, NULL);
1370 1366
1371 if (pTcon->nocase)
1372 d_set_d_op(direntry, &cifs_ci_dentry_ops);
1373 else
1374 d_set_d_op(direntry, &cifs_dentry_ops);
1375 d_instantiate(direntry, newinode); 1367 d_instantiate(direntry, newinode);
1376 /* setting nlink not necessary except in cases where we 1368 /* setting nlink not necessary except in cases where we
1377 * failed to get it from the server or was set bogus */ 1369 * failed to get it from the server or was set bogus */