NFS: Clean up nfs_sb_active/nfs_sb_deactive
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 27 Jul 2008 22:19:01 +0000 (18:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Oct 2008 00:08:26 +0000 (20:08 -0400)
commit1daef0a868370c5a96d031b9202e3354bea060e6
treea072a8486c67f3d26b576e5bace8aa45def2d328
parentd5e66348bbe39dc78509e7561f7252aa443df8c0
NFS: Clean up nfs_sb_active/nfs_sb_deactive

Instead of causing umount requests to block on server->active_wq while the
asynchronous sillyrename deletes are executing, we can use the sb->s_active
counter to obtain a reference to the super_block, and then release that
reference in nfs_async_unlink_release().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/super.c
fs/nfs/unlink.c
include/linux/nfs_fs_sb.h