aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/rpc_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 3b62cf288031..f955d7252e4f 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -1118,7 +1118,7 @@ rpc_fill_super(struct super_block *sb, void *data, int silent)
1118 sb->s_op = &s_ops; 1118 sb->s_op = &s_ops;
1119 sb->s_time_gran = 1; 1119 sb->s_time_gran = 1;
1120 1120
1121 inode = rpc_get_inode(sb, S_IFDIR | 0755); 1121 inode = rpc_get_inode(sb, S_IFDIR | S_IRUGO | S_IXUGO);
1122 sb->s_root = root = d_make_root(inode); 1122 sb->s_root = root = d_make_root(inode);
1123 if (!root) 1123 if (!root)
1124 return -ENOMEM; 1124 return -ENOMEM;