diff options
| author | NeilBrown <neil@brown.name> | 2026-07-17 19:28:04 +1000 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-26 16:40:40 -0400 |
| commit | 7a92717609ac215ee26a2a3d58a05eb1775908a1 (patch) | |
| tree | b2d1285ccc70b0b33caf0113abae2cdad4436a54 /scripts/Makefile.thinlto | |
| parent | 0165a5807b5e65b71f5d3377f6d7cf65d455a778 (diff) | |
| download | linux-next-7a92717609ac215ee26a2a3d58a05eb1775908a1.tar.gz linux-next-7a92717609ac215ee26a2a3d58a05eb1775908a1.zip | |
nfsd: move v0 checking out of nfsd_check_obj_isreg()
A future patch will use nfsd_check_obj_isreg() in a context where the
protocol version is not easily available. So move the version check out
and put it at the end of do_open_lookup().
Also change to return errno error code and use nfserrno() to convert to
nfs error codes. Use -ELOOP for nfserr_symlink, which is an error
indication a problem with symlinks. -EFTYPE is a good match for
nfserr_wrong_type.
Signed-off-by: NeilBrown <neil@brown.name>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260717093001.1972119-17-neilb@ownmail.net
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
