]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit927136e2a3567ffaf210a867786080710cc5bf8a
tree78a1436441bdfc1c2cc7928d9fdff50c0579013f
parentf156f82fde602b3b39b0993ef1ad90f622dbc999
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