rpc_pipe.c (363e065c02b1273364d5356711a83e7f548fc0c8) | rpc_pipe.c (1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b) |
---|---|
1/* 2 * net/sunrpc/rpc_pipe.c 3 * 4 * Userland/kernel interface for rpcauth_gss. 5 * Code shamelessly plagiarized from fs/nfsd/nfsctl.c 6 * and fs/sysfs/inode.c 7 * 8 * Copyright (c) 2002, Trond Myklebust <trond.myklebust@fys.uio.no> --- 844 unchanged lines hidden (view full) --- 853 if (!rpc_inode_cachep) 854 return -ENOMEM; 855 register_filesystem(&rpc_pipe_fs_type); 856 return 0; 857} 858 859void unregister_rpc_pipefs(void) 860{ | 1/* 2 * net/sunrpc/rpc_pipe.c 3 * 4 * Userland/kernel interface for rpcauth_gss. 5 * Code shamelessly plagiarized from fs/nfsd/nfsctl.c 6 * and fs/sysfs/inode.c 7 * 8 * Copyright (c) 2002, Trond Myklebust <trond.myklebust@fys.uio.no> --- 844 unchanged lines hidden (view full) --- 853 if (!rpc_inode_cachep) 854 return -ENOMEM; 855 register_filesystem(&rpc_pipe_fs_type); 856 return 0; 857} 858 859void unregister_rpc_pipefs(void) 860{ |
861 if (kmem_cache_destroy(rpc_inode_cachep)) 862 printk(KERN_WARNING "RPC: unable to free inode cache\n"); | 861 kmem_cache_destroy(rpc_inode_cachep); |
863 unregister_filesystem(&rpc_pipe_fs_type); 864} | 862 unregister_filesystem(&rpc_pipe_fs_type); 863} |