nfs4_proc_fsid_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfs4_proc_fsid_present(9) πŸ’…

okay so this page is straight out of the Kernel API Manual, and it's all about checking whether an FSID is present or absent on the server. bestie, it's giving filesystem detective energy πŸ”βœ¨

🌸 NAME 🌸

nfs4_proc_fsid_present β€” Is this FSID present or absent on server? πŸ•΅οΈβ€β™€οΈ

✨ SYNOPSIS ✨

int nfs4_proc_fsid_present (struct inode *inode , const struct cred
       *cred );

so it returns an int, and you're passing in an inode plus a cred. simple as that, no cap πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” the inode on the FSID you wanna check. this is the main character of the vibe check 🌟
  • cred β€” the credential to use for this operation. gotta show the server your ID, iykyk πŸͺͺ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

the server straight-up tells you whether the FSID is present, moved, or not recognized. no guessing, the server's got the tea β˜•πŸ‘€

this operation is necessary to clear a LEASE_MOVED condition for this client ID. so yeah, it's lowkey important β€” it's the "bestie, the lease moved, let's fix this" move πŸ§ΉπŸ’«

here's the return-value vibe check:

  • returns NFS4_OK if the FSID is present on this server βœ…
  • returns -NFS4ERR_MOVED if the FSID is no longer present 🚚😭
  • returns a negative NFS4ERR code if some error occurred on the server πŸ’€
  • returns a negative errno if a local failure occurred πŸ› οΈπŸ™ˆ

πŸ’– SEE ALSO πŸ’–

Kernel file ./fs/nfs/nfs4proc.c β€” plus the whole squad of related references:

go read those if you're nosy like me, bestie πŸ“šπŸ‘€


β€” your girl at source/version ./fs/nfs, dated October 2026 πŸ«Άβœ¨πŸ’–

πŸ“¦ where this page comes from