vfs_inode_has_locks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the vfs_inode_has_locks(9) page from the Kernel API Manual β€” it's giving β€œone tiny locks vibe check” and we're obsessed πŸ’…

vfs_inode_has_locks β€” are any file locks held on @inode? πŸŽ€

✨ SYNOPSIS ✨

bool vfs_inode_has_locks (struct inode *inode );

✨ ARGUMENTS ✨

  • inode β€” the inode to check for locks, no cap πŸ¦‹

✨ DESCRIPTION ✨

so this function returns true if there are any FL_POSIX or FL_FLOCK locks currently set on inode. that's it, that's the tea β˜• periodt.

πŸ‘€ SEE ALSO πŸ‘€


okay that's the whole page! source/version: ./fs, date: October 2026, and the page is vfs_inode_has_locks(9) β€” bye bestie, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from