]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r220530
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Apr 2011 23:04:08 +0000 (23:04 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Apr 2011 23:04:08 +0000 (23:04 +0000)
commitce792491e2f22cdbba0fc898ce0c877d65d15ecb
treede0ea343287dbcb3d7f54c7a570022f5a3618626
parente513a41c25ac1a08eccd6d95f8f9f1dd2d5e22d4
MFC: r220530
Add some cleanup code to the module unload operation for
the experimental NFS server, so that it doesn't leak memory
when unloaded. However, unloading the NFSv4 server is not
recommended, since all NFSv4 state will be lost by the unload
and clients will have to recover the state after a server
reload/restart as if the server crashed/rebooted.

git-svn-id: svn://svn.freebsd.org/base/stable/8@221002 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_var.h
sys/fs/nfsserver/nfs_nfsdport.c
sys/fs/nfsserver/nfs_nfsdstate.c