diff options
| author | NeilBrown <neil@brown.name> | 2026-07-17 19:27:59 +1000 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:40:30 -0400 |
| commit | e70f0ee26e363c12afa9776b1dff5dd9a0057cfc (patch) | |
| tree | 15408746accc3904c85eb72723099114d6099d96 /scripts/Makefile.thinlto | |
| parent | 4d6f937163b88d4ff78c72bfcaa35b084909b109 (diff) | |
| download | linux-next-e70f0ee26e363c12afa9776b1dff5dd9a0057cfc.tar.gz linux-next-e70f0ee26e363c12afa9776b1dff5dd9a0057cfc.zip | |
nfsd: (almost) always open file in nfsd4_create_file()
If the file is found to already exist, open it anyway. This will
normally be needed eventually anyway, and providing a consistently valid
op_filp will simplify future changes.
To simplify this, change nfsd_check_obj_isreg() to take a dentry.
This doesn't apply in the case where the file was found in the dcache to
be mounted-on. That takes a different path and doesn't require an early
open.
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260717093001.1972119-12-neilb@ownmail.net
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
