summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-09 01:50:13 -0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-15 13:50:21 -0500
commit0f7e720694e88bacf808b525069fb72d1c237171 (patch)
tree0fb57cda4e10d9ed49e0fb592ed62a60bb509346 /fs
parent3bfb0fc59192f7fffae0a1caada8dc68af53997a (diff)
downloadop-kernel-dev-0f7e720694e88bacf808b525069fb72d1c237171.zip
op-kernel-dev-0f7e720694e88bacf808b525069fb72d1c237171.tar.gz
nfs: do not do a LOOKUP after open
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index d117a7b..297e233 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1436,9 +1436,6 @@ static int _nfs4_proc_open(struct nfs4_opendata *data)
if (status != 0 || !data->rpc_done)
return status;
- if (o_res->fh.size == 0)
- _nfs4_proc_lookup(dir, o_arg->name, &o_res->fh, o_res->f_attr);
-
if (o_arg->open_flags & O_CREAT) {
update_changeattr(dir, &o_res->cinfo);
nfs_post_op_update_inode(dir, o_res->dir_attr);
OpenPOWER on IntegriCloud