NFS: Fix a busy inodes issue...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:03 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:03 +0000 (13:44 -0500)
commitb92dccf65bab3b6b7deb79ff3321dc256eb0f53b
tree78a1436441bdfc1c2cc7928d9fdff50c0579013f
parent7705a8792b0fc82fd7d4dd923724606bbfd9fb20
NFS: Fix a busy inodes issue...

The nfs_open_context may live longer than the file descriptor that spawned
it, so it needs to carry a reference to the vfsmount. If not, then
generic_shutdown_super() may end up being called before reads and writes
have been flushed out.

Make a couple of functions static while we're at it...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
include/linux/nfs_fs.h