Commit 3145847e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kNFSdv4: Allow locku replays aswell

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: locku replies should be saved for possible replay as well.
parent 599692fc
...@@ -787,6 +787,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp, ...@@ -787,6 +787,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
break; break;
case OP_LOCKU: case OP_LOCKU:
op->status = nfsd4_locku(rqstp, &current_fh, &op->u.locku); op->status = nfsd4_locku(rqstp, &current_fh, &op->u.locku);
op->replay = &op->u.locku.lu_stateowner->so_replay;
break; break;
case OP_LOOKUP: case OP_LOOKUP:
op->status = nfsd4_lookup(rqstp, &current_fh, &op->u.lookup); op->status = nfsd4_lookup(rqstp, &current_fh, &op->u.lookup);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment