From nobody Thu Jan 25 03:45:39 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 4TL6DM5VHBz57c06; Thu, 25 Jan 2024 03:45:39 +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 4TL6DM3Hkpz4K40; Thu, 25 Jan 2024 03:45:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706154339; 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=xCrz3cUFsO3Ub+B6aw8S8faV6lbdAvK4/d/By/c/3Uc=; b=e7G/AZlV7NBgCrr753KdgqDCJvA8sHTUTxQzym2NZTvqUh7TFCM1VSW5MhloXTHlwjzjRl towNzu1+iMw8MlEsZkjmETUE9OIcj1zuSNO/zi/itwsAI3Y9EtKdKegoGL14+sbyIIggSi gBXci5Dne1+1xsHhvaVymD8/WNtDZ4URzH/tc4UM249wFA9Gb3Ya5rwGGmx4a3p6T/VeNQ uXAJDUlz8Ju70s6f29Q1zh7l6EfYpBafZLukKdYgqp25y5YsWqkvnaYU/4gzWdxnAKxb8z upLkdRBv/vzIaRAHR9BsyKXJ5K8sQSm9cPp9xnEdOTtTTlH0EsCWGbt1Xey9Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706154339; 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=xCrz3cUFsO3Ub+B6aw8S8faV6lbdAvK4/d/By/c/3Uc=; b=rnJer5TY2tkquaj06mS+eL4+5RrYV4bpk6BypM23Tg5ST4ACNS31QwrW8lVn1H7ja4a6aA MKFWc7nYuacGW3M49XpXh8MrU/lye1VlsOMZWZBMukW8mQor3Hpm4BrijnacyanDjOiJjb fAZodJ7Bj/fGeBo6fFImusLaiiip4/Ajdwo4xpiq0NA5LFteyn6iVtGWtiJKiGNx6vVIRZ 7Jh94GK4qqv2vYsecq62IwHZ4HPSU3XFaug3D23gto3LpGmFxuoL+MBlnIr17Hs8EteKlM QBOcgsNI1rhPY3JnRc2So4y+jB1GM4XPr8npV3L0mYG9uAG8YPC8o1oLsey6og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706154339; a=rsa-sha256; cv=none; b=h7qG8+P7DsCnGKbkYIsFbnnXqdPr6YJOI+TwER1Fg4Y7uaN4XvAzFV2YuikWZQSVf3B4oz KGWdxUYtLKaXWTCDWmSYcMS4kJU7bt64Kn3BB2gZhX8Snmf1bPIydxoC79/ZRv9UEXMDtL PnqqKwjhKiVdQmOuqYGWSPrA5uJOrF58L7HHuOu4w0aG5Z11Ll4RV2/9O6huPTKLjVAbOs 6bY2sk2BNCfRNAJWga+6ATqI1zW4MwujWG28G/BZmcHDoPG8J3QWDRCxqjdQA4n5pcv0gf ld+WDyA3jTQ6p5JwdC1yLi21vrb/KrHxJVmL9eGE69WVMq+k+SGPk/AzYSK+EA== 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 4TL6DM2NBWzjKG; Thu, 25 Jan 2024 03:45:39 +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 40P3jd67013258; Thu, 25 Jan 2024 03:45:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40P3jd0s013255; Thu, 25 Jan 2024 03:45:39 GMT (envelope-from git) Date: Thu, 25 Jan 2024 03:45:39 GMT Message-Id: <202401250345.40P3jd0s013255@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: 68d021de3455 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 68d021de34550cf1d133a375ab13544d453323e1 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=68d021de34550cf1d133a375ab13544d453323e1 commit 68d021de34550cf1d133a375ab13544d453323e1 Author: Konstantin Belousov AuthorDate: 2024-01-19 23:50:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-01-25 03:44:55 +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 03c794bad900..258c701bd300 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -1006,9 +1006,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