]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r307978:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Nov 2016 00:27:19 +0000 (00:27 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Nov 2016 00:27:19 +0000 (00:27 +0000)
commit05f2e7239d58a104f31891ea663205591ba476b9
tree191f2bd5bc026e4e5887993a9e33cc06fedc9515
parent74d756ba5a83ecedac2bad4692ad404b30a2f332
MFC r307978:
Bug 180894 reports that rm -rf on a directory causes kernel panic and reboot.
Return EINVAL rather than panic for low directory link count.

PR: 180894

git-svn-id: svn://svn.freebsd.org/base/stable/10@308946 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ufs/ufs_vnops.c