nfs41_check_expired_locks(9)
π nfs41_check_expired_locks(9) π
okay bestie, welcome to the Kernel API Manual page for nfs41_check_expired_locks(9) β she's a kernel function and she's here to possibly free a lock stateid, no cap. β¨
πΈ NAME πΈ
nfs41_check_expired_locks β possibly free a lock stateid π
β¨ SYNOPSIS β¨
int nfs41_check_expired_locks (struct nfs4_state *state );
π¦ ARGUMENTS π¦
stateβ NFSv4 state for an inode π«Ά
π DESCRIPTION π
so here's the vibe check: it returns NFS_OK if recovery for this stateid is now finished. otherwise? a negative NFS4ERR value is returned. π
like, that's literally the whole tea β those are the outcomes, fr fr. π
π SEE ALSO π
bestie, go peek at the Kernel file ./fs/nfs/nfs4proc.c and these iconique friends:
nfs41_check_open_stateid(9)nfs4_proc_get_rootfh(9)nfs4_proc_setclientid(9)nfs4_proc_setclientid_confirm(9)nfs4_proc_get_locations(9)nfs4_proc_fsid_present(9)nfs4_test_session_trunk(9)nfs41_test_stateid(9)nfs41_free_stateid(9)
later, bestie π β this page's source/version is ./fs/nfs, dated October 2026, and it's all about nfs41_check_expired_locks(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