diff options
| author | NeilBrown <neil@brown.name> | 2026-07-17 19:27:53 +1000 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:40:16 -0400 |
| commit | e3cba7edfbcdc78c9e0d0b93a923e6edaedfe8ea (patch) | |
| tree | 8369d020aa429fb777b3e5fb0412e67b2e07d2ee /scripts/Makefile.thinlto | |
| parent | fa1ed1f333a80f69ecc9bfd78b1bc847a31b760c (diff) | |
| download | linux-next-e3cba7edfbcdc78c9e0d0b93a923e6edaedfe8ea.tar.gz linux-next-e3cba7edfbcdc78c9e0d0b93a923e6edaedfe8ea.zip | |
nfsd: move fh_want_write() after preamble in nfsd4_create_file()
As part of separating the nfsd-specific code from the VFS interaction
code in nfsd4_create_file(), move fh_want_write() to just before we need
it.
Consequently errors in the "if" statement that this code is moved over
can now be returned immediately rather than needing to "goto out".
Also restructure that "if" statement to only test is_create_with_attrs()
once.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neil@brown.name>
Link: https://patch.msgid.link/20260717093001.1972119-6-neilb@ownmail.net
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
