summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-08-12 10:24:34 -0400
committerChuck Lever <cel@kernel.org>2026-10-04 21:15:29 -0400
commit19b1b662a23526ce22ffe06c2f446fc3e6b5275a (patch)
tree2f79528606a15de3fcf501237e131b4280fe89fa /scripts/Makefile.thinlto
parent3423b5f91d80d3a76424e1c9f1d0f95d4dd80101 (diff)
NFSD: Make the write verifier reset helper available outside vfs.c
A subsequent patch moves the NFSv4-specific portions of nfsd4_clone_file_range() out of fs/nfsd/vfs.c and into its caller in fs/nfsd/nfs4proc.c. One of those portions resets the write verifier when the post-clone sync fails. netns.h already exposes nfsd_reset_write_verifier(), but that is the unconditional reset. commit_reset_write_verifier() wraps it with the policy that decides which errors warrant a reset: -EAGAIN and -ESTALE do not indicate a problem with durable storage, so they leave the verifier alone. A caller outside vfs.c has to apply the same policy, so make the wrapper visible rather than duplicate its switch. Rename it to nfsd_maybe_reset_write_verifier() on the way out. Reviewed-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20260812142436.35042-2-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions