From nobody Wed Sep 14 18:16:56 2022 X-Original-To: dev-commits-src-main@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 4MST7X5fK7z4bmg7; Wed, 14 Sep 2022 18:16:56 +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 4MST7X587zz3XND; Wed, 14 Sep 2022 18:16:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663179416; 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=ywE6rMepYZi7sHAardgDEHyu+H6txeMFUOcxz/qVJlg=; b=NQSkpXvLDEo9HmT912fYf+cPI72epeTDu/my+TpltCXcT7VzueGDxuH1ClCfbyXpwquObR IBPPDTceeqaeIs1QL16JDtm5Z9ReYIJ/QH3f+dHcPx4ioGM40mkb80as5+Rsybqf53RGcR 7Tu1JLyYGIFa6PFctwW2qym3YlL6BepTMgZ5+dRtO4J59Z1/HnwZaPjdVzFTYDT4dUMD+G ACpxBaG36cPYIpXpwqEd1MTf+SLgMUjIkqc01kuPL0R4cfZgA3DAU147L8m9TF0xesyn50 ed4RvFGditEAfaodqqONW59HekJn69vSOFAf6IAILXt95pWRYeVVfwwUrmPRSg== 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 4MST7X3yX4zlfh; Wed, 14 Sep 2022 18:16:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28EIGu2h085106; Wed, 14 Sep 2022 18:16:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28EIGuOi085105; Wed, 14 Sep 2022 18:16:56 GMT (envelope-from git) Date: Wed, 14 Sep 2022 18:16:56 GMT Message-Id: <202209141816.28EIGuOi085105@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: db5f85a4b268 - main - ufs: stop using the V_MNTREF flag List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: db5f85a4b268d3e02fcecd0a21d1314a2cc28105 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663179416; 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=ywE6rMepYZi7sHAardgDEHyu+H6txeMFUOcxz/qVJlg=; b=iBz1dRAFgkz81WTZXGeAO0H3hBDy2K5lud40bK6WPQn9gsfNAnZ2e1nBJE3d7I7JwPIsIP Y85YilGdERv+FrWvecOVz0/KuIpqAT/2NoRsTqP2hXde/rXq8ubXAw3oidKOwpBKV008d0 AETz1dxsoL6E34VVwr+yB7oebe0XsyCSo6TU245YpPAiC6YOA/GuLNAs2pnHfz4N2kHQgq CIswaBmTsZfR2FkxFVOmzPBVEYv8LGyFXMXsd+eOEUIsBiY3wgkH/CE+L8d+oFAdygkePF 8AkPXfblohD9/A4q7qJP5r6UnXgJsvq/0GbCOLPVYFqSxlnGAsGIOzjArPfX7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663179416; a=rsa-sha256; cv=none; b=Hw4q8W9wcuepMmsxsDxlftgamr2UK7oXAA+cSrySkrYg71vmm+Mg25LIbnJkVPcTVU87WW CsM0GwbKDwb1+WRYnTyNWDgTRRQFHqehEeTStL3qMe99bsc6XPJIVlN8HgDB0WKjle2/dh XnD2sFjzufeNFythbYDEQ7ZlsM7upq3KqFA8hUMze+t9A0oPlCZvg3U7Y91JImFGaWyyIS qSfwQlQyDoMXXdxpzQASm42jhp/biv2x29DLS8shyUCj6erfevRUNDEqE/g9QGtxIqGMls ks6clO2Fr1GFSMwXxyytFP0jVjy6JuDlJBA/KaZz56axGlN5GR6pFzG5vCX0Kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=db5f85a4b268d3e02fcecd0a21d1314a2cc28105 commit db5f85a4b268d3e02fcecd0a21d1314a2cc28105 Author: Mateusz Guzik AuthorDate: 2022-09-10 20:11:42 +0000 Commit: Mateusz Guzik CommitDate: 2022-09-14 18:16:07 +0000 ufs: stop using the V_MNTREF flag Reviewed by: kib, mckusick Differential Revision: https://reviews.freebsd.org/D36521 --- sys/ufs/ufs/ufs_vfsops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c index bd2e6397749b..fa4a193e45a2 100644 --- a/sys/ufs/ufs/ufs_vfsops.c +++ b/sys/ufs/ufs/ufs_vfsops.c @@ -121,11 +121,12 @@ ufs_quotactl(struct mount *mp, int cmds, uid_t id, void *arg, bool *mp_busy) vfs_ref(mp); KASSERT(*mp_busy, ("%s called without busied mount", __func__)); - vn_start_write(NULL, &mp, V_WAIT | V_MNTREF); + vn_start_write(NULL, &mp, V_WAIT); vfs_unbusy(mp); *mp_busy = false; error = quotaoff(td, mp, type); vn_finished_write(mp); + vfs_rel(mp); break; case Q_SETQUOTA32: