diff options
author | Steve Dickson | 2007-11-08 10:05:04 +0100 |
---|---|---|
committer | Trond Myklebust | 2008-01-30 08:05:24 +0100 |
commit | ef818a28fac9bd214e676986d8301db0582b92a9 (patch) | |
tree | b1825d1ecdfa6b35951a61f6bc54363236c12cd0 /fs/nfs/internal.h | |
parent | NFSv4: Clean up the OPEN/CLOSE serialisation code (diff) | |
download | kernel-qcow2-linux-ef818a28fac9bd214e676986d8301db0582b92a9.tar.gz kernel-qcow2-linux-ef818a28fac9bd214e676986d8301db0582b92a9.tar.xz kernel-qcow2-linux-ef818a28fac9bd214e676986d8301db0582b92a9.zip |
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; extern int __init register_nfs_fs(void); extern void __exit unregister_nfs_fs(void); +extern void nfs_sb_active(struct nfs_server *server); +extern void nfs_sb_deactive(struct nfs_server *server); /* namespace.c */ extern char *nfs_path(const char *base, |