]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ufs: relax an overzealous assert added in r356671
authormjg <mjg@FreeBSD.org>
Mon, 13 Jan 2020 14:33:51 +0000 (14:33 +0000)
committermjg <mjg@FreeBSD.org>
Mon, 13 Jan 2020 14:33:51 +0000 (14:33 +0000)
commit1b69d48e2850b54580d7a37271046143f4d26d13
treef4524d633441549c5b4ed8d6cb094c419e8fdc76
parent7171f03dc53a0b7f1d5219f765743e7f09b47d98
ufs: relax an overzealous assert added in r356671

Part of i_flag can persist across a drop to hold count of 0, at which
point the vnode is taken off the lazy list. Then whoever locks and unlocks
the vnode can trip on the assert.

This trips over kyua running a test untarring character devices to ufs.

Reported by: lwhsu
sys/ufs/ffs/ffs_vnops.c
sys/ufs/ufs/inode.h