diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-06-16 07:58:59 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-10 09:54:35 -0400 |
| commit | c10ce74117ad1185d727f24008ee9cb3761a08b8 (patch) | |
| tree | 787f967d06119fc87c848b60711e66b404998872 /tools/perf/scripts/python/bin | |
| parent | b809950fbd3801afa7b04089c4c8a8676bc6cd01 (diff) | |
nfsd: add the filehandle to returned attributes in CB_NOTIFY
nfsd's usual fh_compose routine requires a svc_export and fills out a
svc_fh, which is more machinery than a CB_NOTIFY callback needs.
Add a new routine that composes a filehandle from just the parent
filehandle in the nfs4_file and the child dentry, and use it to fill out
the fhandle field in the nfsd4_fattr_args.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
[ cel: fold "nfsd: fix NULL deref / UAF of sc_export in setup_notify_fhandle" ]
Link: https://patch.msgid.link/20260616-dir-deleg-v7-16-6cbc7eac0ade@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
