summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-07-20 10:14:42 -0400
committerChuck Lever <cel@kernel.org>2026-10-04 21:15:29 -0400
commitb30f238da8430863083a040a725f6988aef61b15 (patch)
tree7ce039337ad3912b3383d89f400b190580da963b /include/linux
parentee41a45f9a788f18f162b1225ab51364b98da857 (diff)
NFSD: Use struct knfsd_fh in struct pnfs_ff_layout
The file handle held in struct pnfs_ff_layout is copied directly out of a struct svc_fh, whose fh_handle member is a struct knfsd_fh. Storing the layout's copy as struct nfs_fh instead forced an open-coded field-by-field copy between two unrelated structures. Hold the layout's file handle in struct knfsd_fh so the copy uses the canonical fh_copy_shallow() helper and server code no longer reaches into a separate file handle representation. Cc: Thomas Haynes <loghyr@hammerspace.com> Link: https://patch.msgid.link/20260720141442.783935-4-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions