summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-05-29 13:11:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-06 16:24:43 -0400
commit275bb307865a316cef390e01e6ab5e21e97023a2 (patch)
treefb7948a7d16dc90a8e6c8959757ae59fc8d21ea9 /fs/nfs/nfs4file.c
parent3efb9722475e56c8878ce09395dd8ccb7a1a3611 (diff)
downloadop-kernel-dev-275bb307865a316cef390e01e6ab5e21e97023a2.zip
op-kernel-dev-275bb307865a316cef390e01e6ab5e21e97023a2.tar.gz
NFSv4: Move dentry instantiation into the NFSv4-specific atomic open code
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4file.c')
-rw-r--r--fs/nfs/nfs4file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c
index 13e6bb3..e5b804d 100644
--- a/fs/nfs/nfs4file.c
+++ b/fs/nfs/nfs4file.c
@@ -69,7 +69,6 @@ nfs4_file_open(struct inode *inode, struct file *filp)
goto out_drop;
}
}
- iput(inode);
if (inode != dentry->d_inode)
goto out_drop;
OpenPOWER on IntegriCloud