nfserrno(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


byeee 🫢 this page came from ./fs/nfsd, dated October 2026, and it's literally nfserrno(9) πŸ’–βœ¨

πŸ“¦ where this page comes from