diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-05-09 11:34:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 21:30:54 +0200 |
commit | 5bd5f5812bfa753218e02cb773e06ede48055798 (patch) | |
tree | 266b416bca305ff32cf121490d31fd1b6bf32a75 /mm/highmem.c | |
parent | RPC: add wrapper for svc_reserve to account for checksum (diff) | |
download | linux-5bd5f5812bfa753218e02cb773e06ede48055798.tar.xz linux-5bd5f5812bfa753218e02cb773e06ede48055798.zip |
sunrpc: fix error path in module_init
register_rpc_pipefs() needs to clean up rpc_inode_cache
by kmem_cache_destroy() on register_filesystem() failure.
init_sunrpc() needs to unregister rpc_pipe_fs by unregister_rpc_pipefs()
when rpc_init_mempool() returns error.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions