aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorSteve Dickson <SteveD@redhat.com>2007-11-08 04:05:04 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:05:24 -0500
commitef818a28fac9bd214e676986d8301db0582b92a9 (patch)
treeb1825d1ecdfa6b35951a61f6bc54363236c12cd0 /fs/nfs/internal.h
parent2f74c0a05612b9c2014b5b67833dba9b9f523948 (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.h2
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
161extern int __init register_nfs_fs(void); 161extern int __init register_nfs_fs(void);
162extern void __exit unregister_nfs_fs(void); 162extern void __exit unregister_nfs_fs(void);
163extern void nfs_sb_active(struct nfs_server *server);
164extern void nfs_sb_deactive(struct nfs_server *server);
163 165
164/* namespace.c */ 166/* namespace.c */
165extern char *nfs_path(const char *base, 167extern char *nfs_path(const char *base,