1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Do not consume extra reference. This is a bug in r287479.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2015-09-05 12:28:18 +00:00
parent 6fa997e2c1
commit 7a82f35c9d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287483

View File

@ -13325,8 +13325,7 @@ softdep_ast_cleanup_proc(void)
if (softdep_excess_items(ump, D_NEWBLK) ||
softdep_excess_items(ump, D_ALLOCDIRECT) ||
softdep_excess_items(ump, D_ALLOCINDIR)) {
error = vn_start_write(NULL, &mp, V_MNTREF |
V_WAIT);
error = vn_start_write(NULL, &mp, V_WAIT);
if (error == 0) {
req = true;
VFS_SYNC(mp, MNT_WAIT);