Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297452
b: refs/heads/master
c: 41fd1e4
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Mar 6, 2012
1 parent 2267757 commit b797c7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 508dc6e110c6dbdc0bbe84298ccfe22de7538486
refs/heads/master: 41fd1e42f861e50e49f3d44127596344f2505f01
8 changes: 3 additions & 5 deletions trunk/fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,14 @@ do_open_lookup(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_o
if (is_create_with_attrs(open) && open->op_acl != NULL)
do_set_nfs4_acl(rqstp, &resfh, open->op_acl, open->op_bmval);

set_change_info(&open->op_cinfo, current_fh);
fh_dup2(current_fh, &resfh);

/* set reply cache */
fh_copy_shallow(&open->op_openowner->oo_owner.so_replay.rp_openfh,
&resfh.fh_handle);
if (!open->op_created)
status = do_open_permission(rqstp, current_fh, open,
status = do_open_permission(rqstp, &resfh, open,
NFSD_MAY_NOP);

set_change_info(&open->op_cinfo, current_fh);
fh_dup2(current_fh, &resfh);
out:
fh_put(&resfh);
return status;
Expand Down

0 comments on commit b797c7e

Please sign in to comment.