diff options
| author | Chuck Lever <cel@kernel.org> | 2026-07-20 10:14:42 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:41:04 -0400 |
| commit | 034899775e98a976f3599335858916493122ab58 (patch) | |
| tree | 6aa2a716522b78891457f923666f9607b9af6722 /scripts/Makefile.thinlto | |
| parent | d20bacb986784ad670340c3f6ce8aafef0b6073f (diff) | |
| download | linux-next-034899775e98a976f3599335858916493122ab58.tar.gz linux-next-034899775e98a976f3599335858916493122ab58.zip | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
