summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-10-20 10:07:28 +0000
committerkib <kib@FreeBSD.org>2008-10-20 10:07:28 +0000
commit015479d466a4e5609bed16fe5bc0d7c02cd1a239 (patch)
tree2e8e4a6298da6d6b4717bf7466a4b356f9ff64fa /sys/ufs/ffs
parent604182d32eeb85fd6e8cc77ef635232c80913a42 (diff)
downloadFreeBSD-src-015479d466a4e5609bed16fe5bc0d7c02cd1a239.zip
FreeBSD-src-015479d466a4e5609bed16fe5bc0d7c02cd1a239.tar.gz
In vfs_busy(), lockmgr() cannot legitimately sleep, because code checked
MNTK_UNMOUNT before, and mnt_mtx is used as interlock. vfs_busy() always tries to obtain a shared lock on mnt_lock, the other user is unmount who tries to drain it, setting MNTK_UNMOUNT before. Reviewed by: tegge, attilio Tested by: pho MFC after: 2 weeks
Diffstat (limited to 'sys/ufs/ffs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud