NFSv4: Ensure that nfs4_do_close() doesn't race with umount
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2007 14:31:33 +0000 (10:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:24 +0000 (23:40 -0400)
nfs4_do_close() does not currently have any way to ensure that the user
won't attempt to unmount the partition while the asynchronous RPC call
is completing. This again may cause Oopses in nfs_update_inode().

Add a vfsmount argument to nfs4_close_state to ensure that the partition
remains mounted while we're closing the file.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found