]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove call to igrab() from nfs_writepage()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Dec 2006 05:35:39 +0000 (00:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:37 +0000 (10:46 -0500)
commit8336037dca86dbd495fec3827115037f970fe75c
tree5cc37898459d69135b09ed9485d54745d15922ba
parent47186f1516ab33afacb72ef00ffff80b0c89afaf
NFS: Remove call to igrab() from nfs_writepage()

We always ensure that the nfs_open_context holds a reference to the dentry,
so the test in nfs_writepage() for whether or not the inode is referenced
is redundant.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c