diff options
| author | Jeff Layton <[email protected]> | 2024-08-23 22:27:38 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-08-26 15:52:40 +0000 |
| commit | da05ba23d4c8d3e8a45846b952e53dd76c4b5e36 (patch) | |
| tree | d48db0f75fba72c5a21a78e0250048a3e8d744cc /lib/debugobjects.c | |
| parent | MAINTAINERS: Update Olga Kornievskaia's email address (diff) | |
| download | kernel-da05ba23d4c8d3e8a45846b952e53dd76c4b5e36.tar.gz kernel-da05ba23d4c8d3e8a45846b952e53dd76c4b5e36.zip | |
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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
