From 9a0916a6b36b1a95f1745de10ca7c7404af3eac3 Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 5 Sep 2015 12:28:18 +0000 Subject: 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 --- sys/ufs/ffs/ffs_softdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c index 67509eb..963313a 100644 --- a/sys/ufs/ffs/ffs_softdep.c +++ b/sys/ufs/ffs/ffs_softdep.c @@ -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); -- cgit v1.1