aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpc_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r--net/sunrpc/rpc_pipe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index dfa504fe383f..700c6e061a04 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -488,7 +488,6 @@ rpc_get_inode(struct super_block *sb, int mode)
488 return NULL; 488 return NULL;
489 inode->i_mode = mode; 489 inode->i_mode = mode;
490 inode->i_uid = inode->i_gid = 0; 490 inode->i_uid = inode->i_gid = 0;
491 inode->i_blksize = PAGE_CACHE_SIZE;
492 inode->i_blocks = 0; 491 inode->i_blocks = 0;
493 inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; 492 inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
494 switch(mode & S_IFMT) { 493 switch(mode & S_IFMT) {
@@ -858,7 +857,6 @@ int register_rpc_pipefs(void)
858 857
859void unregister_rpc_pipefs(void) 858void unregister_rpc_pipefs(void)
860{ 859{
861 if (kmem_cache_destroy(rpc_inode_cachep)) 860 kmem_cache_destroy(rpc_inode_cachep);
862 printk(KERN_WARNING "RPC: unable to free inode cache\n");
863 unregister_filesystem(&rpc_pipe_fs_type); 861 unregister_filesystem(&rpc_pipe_fs_type);
864} 862}