Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Sep 2015 12:28:19 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287483 - head/sys/ufs/ffs
Message-ID:  <201509051228.t85CSJPx039922@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Sep  5 12:28:18 2015
New Revision: 287483
URL: https://svnweb.freebsd.org/changeset/base/287483

Log:
  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

Modified:
  head/sys/ufs/ffs/ffs_softdep.c

Modified: head/sys/ufs/ffs/ffs_softdep.c
==============================================================================
--- head/sys/ufs/ffs/ffs_softdep.c	Sat Sep  5 10:29:47 2015	(r287482)
+++ head/sys/ufs/ffs/ffs_softdep.c	Sat Sep  5 12:28:18 2015	(r287483)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509051228.t85CSJPx039922>