linux/fs/nfsd
NeilBrown f2d395865f [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die
Both cause the 'entries' count in the export cache to be non-zero at module
removal time, so unregistering that cache fails and results in an oops.

1/ exp_pseudoroot (used for NFSv4 only) leaks a reference to an export
   entry.
2/ sunrpc_cache_update doesn't increment the entries count when it adds
   an entry.

Thanks to "david m.  richter" <richterd@citi.umich.edu> for triggering the
problem and finding one of the bugs.

Cc: "david m. richter" <richterd@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-23 10:35:31 -07:00
..
Makefile [PATCH] knfsd: nfsd4: reboot hash 2005-06-24 00:06:33 -07:00
auth.c [PATCH] knfsd: nfsd: nfsd_setuser doesn't really need to modify rqstp->rq_cred. 2006-04-11 06:18:52 -07:00
export.c [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die 2006-05-23 10:35:31 -07:00
lockd.c
nfs2acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3acl.c [PATCH] nfsd: check for read-only exports before setting acls 2005-12-20 10:31:33 -08:00
nfs3proc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfs3xdr.c [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
nfs4acl.c [PATCH] knfsd: nfsd4: better nfs4acl errors 2006-04-11 06:18:51 -07:00
nfs4callback.c [PATCH] knfsd: nfsd4: nfsd4_probe_callback cleanup 2006-04-11 06:18:53 -07:00
nfs4idmap.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfs4proc.c [PATCH] knfsd: nfsd4: remove nfsd_setuser from putrootfh 2006-04-11 06:18:52 -07:00
nfs4recover.c [PATCH] nfsd4: recovery lookup dir check 2006-01-18 19:20:26 -08:00
nfs4state.c [PATCH] knfsd: nfsd4: grant delegations more frequently 2006-04-11 06:18:53 -07:00
nfs4xdr.c [PATCH] knfsd: nfsd4: fix corruption on readdir encoding with 64k pages 2006-04-11 06:18:52 -07:00
nfscache.c [PATCH] kfree cleanup: fs 2005-11-07 07:54:06 -08:00
nfsctl.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
nfsfh.c [PATCH] knfsd: Convert sunrpc_cache to use krefs 2006-03-27 08:44:43 -08:00
nfsproc.c [PATCH] knfsd: Correct reserved reply space for read requests. 2006-04-11 06:18:51 -07:00
nfssvc.c [PATCH] fs: Use ARRAY_SIZE macro 2006-03-24 07:33:19 -08:00
nfsxdr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
stats.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
vfs.c [PATCH] nfsd: sign conversion obscuring errors in nfsd_set_posix_acl() 2006-05-21 12:59:17 -07:00