diff options
author | Scott Mayhew <smayhew@redhat.com> | 2025-08-07 12:49:38 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-09-05 15:23:49 -0400 |
commit | 992203a1fba51b025c60ec0c8b0d9223343dea95 (patch) | |
tree | ddce090e40fb59fa7e8b345524e273f3a9e5113c /tools/docs/parse-headers.py | |
parent | 4fb2b677fc1f70ee642c0beecc3cabf226ef5707 (diff) |
nfs/localio: restore creds before releasing pageio data
Otherwise if the nfsd filecache code releases the nfsd_file
immediately, it can trigger the BUG_ON(cred == current->cred) in
__put_cred() when it puts the nfsd_file->nf_file->f-cred.
Fixes: b9f5dd57f4a5 ("nfs/localio: use dedicated workqueues for filesystem read and write")
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20250807164938.2395136-1-smayhew@redhat.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions