aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/9p/vfs_inode.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index ef5905f7c8a3..88efc161743b 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -886,10 +886,6 @@ static int v9fs_vfs_mkdir_dotl(struct inode *dir, struct dentry *dentry,
886 } 886 }
887 887
888 gid = v9fs_get_fsgid_for_create(dir); 888 gid = v9fs_get_fsgid_for_create(dir);
889 if (gid < 0) {
890 P9_DPRINTK(P9_DEBUG_VFS, "v9fs_get_fsgid_for_create failed\n");
891 goto error;
892 }
893 889
894 name = (char *) dentry->d_name.name; 890 name = (char *) dentry->d_name.name;
895 err = p9_client_mkdir_dotl(dfid, name, mode, gid, &qid); 891 err = p9_client_mkdir_dotl(dfid, name, mode, gid, &qid);
@@ -1616,11 +1612,6 @@ v9fs_vfs_symlink_dotl(struct inode *dir, struct dentry *dentry,
1616 1612
1617 gid = v9fs_get_fsgid_for_create(dir); 1613 gid = v9fs_get_fsgid_for_create(dir);
1618 1614
1619 if (gid < 0) {
1620 P9_DPRINTK(P9_DEBUG_VFS, "v9fs_get_egid failed %d\n", gid);
1621 goto error;
1622 }
1623
1624 /* Server doesn't alter fid on TSYMLINK. Hence no need to clone it. */ 1615 /* Server doesn't alter fid on TSYMLINK. Hence no need to clone it. */
1625 err = p9_client_symlink(dfid, name, (char *)symname, gid, &qid); 1616 err = p9_client_symlink(dfid, name, (char *)symname, gid, &qid);
1626 1617
@@ -1885,10 +1876,6 @@ v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, int mode,
1885 } 1876 }
1886 1877
1887 gid = v9fs_get_fsgid_for_create(dir); 1878 gid = v9fs_get_fsgid_for_create(dir);
1888 if (gid < 0) {
1889 P9_DPRINTK(P9_DEBUG_VFS, "v9fs_get_fsgid_for_create failed\n");
1890 goto error;
1891 }
1892 1879
1893 name = (char *) dentry->d_name.name; 1880 name = (char *) dentry->d_name.name;
1894 1881