diff options
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index d0d14a04dce1..bf04b30a788a 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -471,15 +471,6 @@ struct rpc_filelist { | |||
471 | umode_t mode; | 471 | umode_t mode; |
472 | }; | 472 | }; |
473 | 473 | ||
474 | static int rpc_delete_dentry(const struct dentry *dentry) | ||
475 | { | ||
476 | return 1; | ||
477 | } | ||
478 | |||
479 | static const struct dentry_operations rpc_dentry_operations = { | ||
480 | .d_delete = rpc_delete_dentry, | ||
481 | }; | ||
482 | |||
483 | static struct inode * | 474 | static struct inode * |
484 | rpc_get_inode(struct super_block *sb, umode_t mode) | 475 | rpc_get_inode(struct super_block *sb, umode_t mode) |
485 | { | 476 | { |
@@ -1266,7 +1257,7 @@ rpc_fill_super(struct super_block *sb, void *data, int silent) | |||
1266 | sb->s_blocksize_bits = PAGE_CACHE_SHIFT; | 1257 | sb->s_blocksize_bits = PAGE_CACHE_SHIFT; |
1267 | sb->s_magic = RPCAUTH_GSSMAGIC; | 1258 | sb->s_magic = RPCAUTH_GSSMAGIC; |
1268 | sb->s_op = &s_ops; | 1259 | sb->s_op = &s_ops; |
1269 | sb->s_d_op = &rpc_dentry_operations; | 1260 | sb->s_d_op = &simple_dentry_operations; |
1270 | sb->s_time_gran = 1; | 1261 | sb->s_time_gran = 1; |
1271 | 1262 | ||
1272 | inode = rpc_get_inode(sb, S_IFDIR | S_IRUGO | S_IXUGO); | 1263 | inode = rpc_get_inode(sb, S_IFDIR | S_IRUGO | S_IXUGO); |