diff options
author | NeilBrown <neilb@suse.de> | 2024-04-08 12:09:16 +1000 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-05-06 09:07:15 -0400 |
commit | b3f03739ca8cd6058a5d8754ea1354bc21fa0f2f (patch) | |
tree | a986f08e7dbc0515bb71e02da770406f59abdbad /usr/dummy-include | |
parent | 23df17788c6212809848f836b10c4f85b16843a5 (diff) |
nfsd: move nfsd4_cstate_assign_replay() earlier in open handling.
Rather than taking the rp_mutex (via nfsd4_cstate_assign_replay) in
nfsd4_cleanup_open_state() (which seems counter-intuitive), take it and
assign rp_owner as soon as possible - in nfsd4_process_open1().
This will support a future change when nfsd4_cstate_assign_replay() might
fail.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'usr/dummy-include')
0 files changed, 0 insertions, 0 deletions