diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d117a7befd46..297e23310efd 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1436,9 +1436,6 @@ static int _nfs4_proc_open(struct nfs4_opendata *data) | |||
1436 | if (status != 0 || !data->rpc_done) | 1436 | if (status != 0 || !data->rpc_done) |
1437 | return status; | 1437 | return status; |
1438 | 1438 | ||
1439 | if (o_res->fh.size == 0) | ||
1440 | _nfs4_proc_lookup(dir, o_arg->name, &o_res->fh, o_res->f_attr); | ||
1441 | |||
1442 | if (o_arg->open_flags & O_CREAT) { | 1439 | if (o_arg->open_flags & O_CREAT) { |
1443 | update_changeattr(dir, &o_res->cinfo); | 1440 | update_changeattr(dir, &o_res->cinfo); |
1444 | nfs_post_op_update_inode(dir, o_res->dir_attr); | 1441 | nfs_post_op_update_inode(dir, o_res->dir_attr); |