From nobody Thu Jan 25 04:32:13 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TL7G556syz57gM1; Thu, 25 Jan 2024 04:32:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TL7G53zsJz4RKW; Thu, 25 Jan 2024 04:32:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706157133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUVc0BXmfmdpqiu3d8i76IOKQEIjbrpjTF18XtuyP58=; b=LhNz3VNijAhtG2Amp2Lyv6NTBsHhErjhmi0Bg1g9tMYA4d0dZwMa1xr+ruwhceg/0l8nuh A2resHmsExxPb6SBQ2zk3tQboTatl4CM7fJSLOO71XjoiM467ByugYEK9+WwnRzV/xAAV7 hbG1lOfRdG5N7jOAbH7aNdFjWgtUm8I4JHAMswTfd4+uJmzHO4mcRchW/iCRZRGMMChxXY JECdIjN1/PXThgXLKE/+KtN18bkvYp0J3tVOrQOi5q67/6L9pAwr54KZiB0HH0N/1P/19u iZcc+cXJ8kb1pWn5mMmuYNfcEW98pX3jkatU8daIoVu8darQSlm2DaemZE03jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706157133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUVc0BXmfmdpqiu3d8i76IOKQEIjbrpjTF18XtuyP58=; b=IhIrSkZANJCgBB7fJLs2HQLtwt0UDY1GKNH57qzqBqT53EdmC9AQQpQTG/QJBDghrC2mu3 V13cePlt5fu806DeOAP220jzdTcRPo+BEWcFyW0pJVvsUSQzfKjhchq8lFg3heo7Sb8OF9 oIMwtisudaxZFWfaSKN2ajEkqX49cHPKLrqWVDMTVCVR7fOm9y9jvpCsCXsCArHPDI125l Mo6i8iekOZ7Zk0RLm90uT9DH6E/FLBQFDrA0CqlnsEeL7HE9fxcnK1947h/pDgep8TCmkk DzkzfZE8T9Z+1Tg43Pv06EZWUxdPNmwgMkm/nSuoqs6eVDsZgi9u00liImItJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706157133; a=rsa-sha256; cv=none; b=RbGBx8qUrKOc2WvRQVnroabD/OvjkPDfn+E784O0BKInlIvpmC0XDHynkYZjzVuXOQrgRA dFe/s0h8/7Q4Raw9f/r/D1MXM9iErSIqxnpuAhSA77f9frjcvfem+HyKRzEGw8qjLZQsD5 AJQv/0jyOh8SWJX3hUZrl0aHvYK6vVOszLCqT/ge2RPyyx8HsNX4lTZkWqwTdjk+gPKDHO gPeD9Z1cJYcYbVQXvU5BQ4+7gtKiatsnCkg1IN84p+P0va7KZKWCi3L9n91NW7MmEWtxmR XHVrda0gUnY3P2Wfawt0qtyCSsNtXCvrSaiJ/n+++eidQ+iXvpzFgeaA6PwcHg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TL7G5353dzkTh; Thu, 25 Jan 2024 04:32:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40P4WDsw092563; Thu, 25 Jan 2024 04:32:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40P4WDLX092560; Thu, 25 Jan 2024 04:32:13 GMT (envelope-from git) Date: Thu, 25 Jan 2024 04:32:13 GMT Message-Id: <202401250432.40P4WDLX092560@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: bbcc33086adc - stable/13 - msdosfs_remount_ro(): correct vfs_unbusy() loop List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: bbcc33086adc5e2baba3c97f1e53fedcaa504edb Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=bbcc33086adc5e2baba3c97f1e53fedcaa504edb commit bbcc33086adc5e2baba3c97f1e53fedcaa504edb Author: Konstantin Belousov AuthorDate: 2024-01-19 23:50:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-24 13:04:38 +0000 msdosfs_remount_ro(): correct vfs_unbusy() loop PR: 276408 (cherry picked from commit 4b3ffc5918b9968ea6ddee6f6cdf3538072e5ef4) --- sys/fs/msdosfs/msdosfs_vfsops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index fe367122b3e3..b5392e62b578 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -1008,9 +1008,8 @@ msdosfs_remount_ro(void *arg, int pending) } MSDOSFS_UNLOCK_MP(pmp); - do { + while (--pending >= 0) vfs_unbusy(pmp->pm_mountp); - } while (--pending >= 0); } void