From: Trond Myklebust Date: Tue, 5 Jun 2007 14:31:33 +0000 (-0400) Subject: NFSv4: Ensure that nfs4_do_close() doesn't race with umount X-Git-Tag: v2.6.23-rc1~1073^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a35bd41aff5714deb41c8f14766df3871e2e8f7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed