diff options
| author | NeilBrown <neil@brown.name> | 2026-07-17 19:27:50 +1000 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:40:10 -0400 |
| commit | 4bd0e24e91f6a6c1b3a6a662d8fdc84dd1c826a6 (patch) | |
| tree | 68371eb4a3cfe789a338d91cbade7de90f24ba58 /scripts/Makefile.thinlto | |
| parent | d1b97dfe5884f3eb328182b98db431953324dd05 (diff) | |
| download | linux-next-4bd0e24e91f6a6c1b3a6a662d8fdc84dd1c826a6.tar.gz linux-next-4bd0e24e91f6a6c1b3a6a662d8fdc84dd1c826a6.zip | |
nfsd: move check_nfsd_access() call into nfsd_cross_mnt()
Whenever we cross a mount point, we need to check_nfsd_access() for v4.
So move the call into nfsd_cross_mnt() in the place where we actually do
cross. This avoids the possibility of calling nfsd_cross_mnt() without
the required check_nfsd_access().
Also remove the last arg from check_nfsd_access(), which is always false.
nfsd_cross_mnt() now returns an nfserr rather than an errno.
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260717093001.1972119-3-neilb@ownmail.net
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
