Date: Thu, 22 Sep 2016 10:58:19 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r306183 - stable/9/sys/ufs/ffs Message-ID: <201609221058.u8MAwJmu058466@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Sep 22 10:58:19 2016 New Revision: 306183 URL: https://svnweb.freebsd.org/changeset/base/306183 Log: MFC r305599: Do not leak transient ENOLCK error from flush_newblk_dep() loop. Modified: stable/9/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/9/ (props changed) stable/9/sys/ (props changed) Modified: stable/9/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- stable/9/sys/ufs/ffs/ffs_softdep.c Thu Sep 22 10:54:30 2016 (r306182) +++ stable/9/sys/ufs/ffs/ffs_softdep.c Thu Sep 22 10:58:19 2016 (r306183) @@ -12577,6 +12577,7 @@ flush_newblk_dep(vp, mp, lbn) LK_INTERLOCK, BO_MTX(bo)); if (error == ENOLCK) { ACQUIRE_LOCK(&lk); + error = 0; continue; /* Slept, retry */ } if (error != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609221058.u8MAwJmu058466>