Skip to content

Commit 58f5d89

Browse files
daimngochucklever
authored andcommitted
NFSD: add encoding of op_recall flag for write delegation
Modified nfsd4_encode_open to encode the op_recall flag properly for OPEN result with write delegation granted. Signed-off-by: Dai Ngo <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Cc: [email protected]
1 parent 8111c17 commit 58f5d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfsd/nfs4xdr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3970,7 +3970,7 @@ nfsd4_encode_open(struct nfsd4_compoundres *resp, __be32 nfserr,
39703970
p = xdr_reserve_space(xdr, 32);
39713971
if (!p)
39723972
return nfserr_resource;
3973-
*p++ = cpu_to_be32(0);
3973+
*p++ = cpu_to_be32(open->op_recall);
39743974

39753975
/*
39763976
* TODO: space_limit's in delegations

0 commit comments

Comments
 (0)