diff options
author | Jeff Layton | 2024-08-23 18:27:38 -0400 |
---|---|---|
committer | Chuck Lever | 2024-08-26 11:52:40 -0400 |
commit | da05ba23d4c8d3e8a45846b952e53dd76c4b5e36 (patch) | |
tree | d48db0f75fba72c5a21a78e0250048a3e8d744cc /lib/xarray.c | |
parent | f25d1b5f1be13a6de341b1d26e0cf4275e5908d2 (diff) |
nfsd: hold reference to delegation when updating it for cb_getattr
Once we've dropped the flc_lock, there is nothing that ensures that the
delegation that was found will still be around later. Take a reference
to it while holding the lock and then drop it when we've finished with
the delegation.
Fixes: c5967721e106 ("NFSD: handle GETATTR conflict with write delegation")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions