nfserrno(9)
πΈ NAME πΈ
Okay bestie, welcome to nfserrno(9) from the Kernel API Manual β the little mapping function that takes Linux errnos and turns them into NFS errnos. Slay.
β¨ SYNOPSIS β¨
__be32 nfserrno (int errno );
π ARGUMENTS π
errnoβ the POSIX(-ish) error code that needs mapping. That's the whole vibe.
π¦ DESCRIPTION π¦
It returns the appropriate (net-endian) nfserr_* β or nfs_ok if errno is 0. No cap, that's the mapping.
If it's an error we don't expect, it logs it once and returns nfserr_io. So: unexpected error, one log, then nfserr_io. Periodt.
π SEE ALSO π
The whole squad lives in the Kernel file ./fs/nfsd/vfs.c, and honestly? Iconic lineup:
nfsd_lookup(9)nfsd_setattr(9)nfsd4_is_junction(9)nfsd_open_verified(9)nfsd_splice_read(9)nfsd_iter_read(9)nfsd_vfs_write(9)nfsd_read_splice_ok(9)nfsd_read(9)nfsd_write(9)nfsd_commit(9)nfsd_create_setattr(9)nfsd_symlink(9)nfsd_link(9)nfsd_rename(9)nfsd_unlink(9)nfsd_readdir(9)nfsd_filp_close(9)nfsd_removexattr(9)nfsd_get_case_info(9)
byeee π«Ά this page came from ./fs/nfsd, dated October 2026, and it's literally nfserrno(9) πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms