VFS_UNBUSY(9) MidnightBSD Kernel Developer’s Manual VFS_UNBUSY(9)

NAME

vfs_unbusy — unbusy a mount point

SYNOPSIS

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

void

vfs_unbusy(struct mount *mp, struct thread *td);

DESCRIPTION

The vfs_unbusy() function un-busies a mount point by unlocking mp->mnt_lock. The lock is typically acquired by calling vfs_busy(9) prior to this call.

Its arguments are:

mp

The mount point to unbusy (unlock).

td

The thread responsible for this call.

LOCKS

mnt_lock must be locked in mp prior to calling this function, and it will be unlocked upon return.

SEE ALSO

vfs_busy(9)

AUTHORS

This manual page was written by Chad David 〈davidc@acns.ab.ca〉.

MidnightBSD 0.3 July 8, 2001 MidnightBSD 0.3