Skip to content
Snippets Groups Projects
Commit 4a35bd41 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Ensure that nfs4_do_close() doesn't race with umount


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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ad389da7
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment