VFS_UNBUSY(9)

πŸ’… VFS_UNBUSY(9) β€” Kernel Developer's Manual πŸ’…

okay so bestie, gather round, because we're talking about vfs_unbusy from the Kernel Developer's Manual β€” yes that one, the section 9 girlies know 🫢


✨ NAME ✨

vfs_unbusy β€” unbusy a mount point 🌸


✨ SYNOPSIS ✨

#include <sys/param.h>
#include <sys/mount.h>

void
vfs_unbusy(struct mount *mp);

like... two includes and one function, we love a low-effort slay πŸ’…


✨ DESCRIPTION ✨

okay so the vfs_unbusy() function un-busies a mount point by decrementing the reference count of a mount point. and the way that reference count got bumped in the first place?? typically by calling vfs_busy(9) before you get here πŸŽ€ so like, this is the lil "okay we're done here, thank u next" of the pair. periodt.

Its arguments are:

  • mp β€” the mount point to unbusy. that's it. that's the whole job. iconic. πŸ’œ
ngl if you never called vfs_busy(9) first, you're out here decrementing a count that you never incremented and the vibe check will NOT pass, so like... pair them up bestie πŸ™ˆ

✨ SEE ALSO ✨

  • vfs_busy(9) β€” the other half of this situationship πŸ’–

✨ AUTHORS ✨

this manual page was written by Chad David <davidc@acns.ab.ca> β€” we stan a documentation king πŸ‘‘


and that's the whole page, no cap. this was Debian, from June 14, 2010 β€” so it's lowkey vintage but the info is still eating fr fr. go unbusy something, bestie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from