diff options
author | Steve Dickson <SteveD@redhat.com> | 2007-11-08 04:05:04 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:24 -0500 |
commit | ef818a28fac9bd214e676986d8301db0582b92a9 (patch) | |
tree | b1825d1ecdfa6b35951a61f6bc54363236c12cd0 /fs/nfs/internal.h | |
parent | 2f74c0a05612b9c2014b5b67833dba9b9f523948 (diff) |
NFS: Stop sillyname renames and unmounts from racing
Added an active/deactive mechanism to the nfs_server structure
allowing async operations to hold off umount until the
operations are done.
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index f3acf48412be..75793794aefe 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -160,6 +160,8 @@ extern struct rpc_stat nfs_rpcstat; | |||
160 | 160 | ||
161 | extern int __init register_nfs_fs(void); | 161 | extern int __init register_nfs_fs(void); |
162 | extern void __exit unregister_nfs_fs(void); | 162 | extern void __exit unregister_nfs_fs(void); |
163 | extern void nfs_sb_active(struct nfs_server *server); | ||
164 | extern void nfs_sb_deactive(struct nfs_server *server); | ||
163 | 165 | ||
164 | /* namespace.c */ | 166 | /* namespace.c */ |
165 | extern char *nfs_path(const char *base, | 167 | extern char *nfs_path(const char *base, |