Skip to content

Commit

Permalink
FSAL_PROXY : fix open from a NFSv4.0 client
Browse files Browse the repository at this point in the history
Change-Id: If6d308a8930c98c695b036daafafc5b793f5cda3
Signed-off-by: Patrice LUCAS <patrice.lucas@cea.fr>
  • Loading branch information
patlucas authored and ffilz committed Oct 6, 2017
1 parent 2ab379b commit 60abfbe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/FSAL/FSAL_PROXY/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -2341,10 +2341,11 @@ static fsal_status_t pxy_open2(struct fsal_obj_handle *obj_hdl,
opcnt = 0;
/* SEQUENCE */
pxy_get_client_sessionid(sid);
COMPOUNDV4_ARG_ADD_OP_SEQUENCE(opcnt, argoparray, sid,
COMPOUNDV4_ARG_ADD_OP_SEQUENCE(opcnt, setattr_argoparray, sid,
NB_RPC_SLOT);
/* PUTFH */
COMPOUNDV4_ARG_ADD_OP_PUTFH(opcnt, setattr_argoparray, ph->fh4);
COMPOUNDV4_ARG_ADD_OP_PUTFH(opcnt, setattr_argoparray,
fhok->object);
/* SETATTR for truncate */
setattr_resoparray[opcnt].nfs_resop4_u.opsetattr.attrsset =
empty_bitmap;
Expand Down

0 comments on commit 60abfbe

Please sign in to comment.