HomeFreeBSD

Change dounmount() to return EBUSY in the non-MNT_FORCE case if we

Description

Change dounmount() to return EBUSY in the non-MNT_FORCE case if we
can't acquire the mnt_lock without blocking. Normally non-forced
unmount attempts return EBUSY quickly if any vnodes are active, so
this just extends that behaviour to cover the per-mount mnt_lock
too.

Details

Provenance
Ian Dowse <iedowse@FreeBSD.org>Authored on Jan 10 2002, 1:59 AM
Parents
rG2b87b6d4f4f1: o Revert kern_sig.c#1.143, as cr_cansignal() doesn't currently permit
Branches
Unknown
Tags
Unknown

Event Timeline