diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-05 10:31:33 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:24 -0400 |
commit | 4a35bd41aff5714deb41c8f14766df3871e2e8f7 (patch) | |
tree | 3542c76b1e0aabcd0ee6bb76fdd8228e6f3b5479 /mm/shmem.c | |
parent | ad389da79f7bf9dc12dbc79c9c2740f9ed2f13d1 (diff) |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions