diff mbox series

[2/2] nfsd: remove the redundant mapping of nfserr_mlink

Message ID 20250126095045.738902-3-lilingfeng3@huawei.com (mailing list archive)
State Under Review
Delegated to: Chuck Lever
Headers show
Series nfsd: add a new mapping and remove the redundant one | expand

Commit Message

Li Lingfeng Jan. 26, 2025, 9:50 a.m. UTC
There two mappings of nfserr_mlink in nfs_errtbl.
Remove one of them.

Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com>
---
 fs/nfsd/vfs.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index 0f727010b8cb..42039cff2124 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -71,7 +71,6 @@  nfserrno (int errno)
 		{ nfserr_acces, -EACCES },
 		{ nfserr_exist, -EEXIST },
 		{ nfserr_xdev, -EXDEV },
-		{ nfserr_mlink, -EMLINK },
 		{ nfserr_nodev, -ENODEV },
 		{ nfserr_notdir, -ENOTDIR },
 		{ nfserr_isdir, -EISDIR },