diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-27 18:19:01 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-10-06 20:08:26 -0400 |
commit | 1daef0a868370c5a96d031b9202e3354bea060e6 (patch) | |
tree | a072a8486c67f3d26b576e5bace8aa45def2d328 /fs/nfs/internal.h | |
parent | d5e66348bbe39dc78509e7561f7252aa443df8c0 (diff) |
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>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 24241fcbb98d..7bcf6ec2d458 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -163,8 +163,8 @@ extern struct rpc_stat nfs_rpcstat; | |||
163 | 163 | ||
164 | extern int __init register_nfs_fs(void); | 164 | extern int __init register_nfs_fs(void); |
165 | extern void __exit unregister_nfs_fs(void); | 165 | extern void __exit unregister_nfs_fs(void); |
166 | extern void nfs_sb_active(struct nfs_server *server); | 166 | extern void nfs_sb_active(struct super_block *sb); |
167 | extern void nfs_sb_deactive(struct nfs_server *server); | 167 | extern void nfs_sb_deactive(struct super_block *sb); |
168 | 168 | ||
169 | /* namespace.c */ | 169 | /* namespace.c */ |
170 | extern char *nfs_path(const char *base, | 170 | extern char *nfs_path(const char *base, |