From nobody Sun May 12 01:13:50 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 4VcPlM1sDTz5Jj1s; Sun, 12 May 2024 01:13:51 +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 4VcPlM08PXz45KP; Sun, 12 May 2024 01:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715476431; 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=t2Igs+xDxh71LKvbdPuwchxpczyUVg0AZn6hmwPWgHI=; b=mc92GDug6q+1sWPcVC/Kz/3LwCN4WC8DLUAajXW0drACjzd9GJaMyjh3C13qbukYzESen4 CHQ/3ybAJugu3VL+N3hqGm4NRVlaxOKgeDxp7atj/Z5xGj6UZ7HYzR50BlPUymxT8Wzz4n r0JOXr6X5wXjh19T4RCAKy2H+TvwXonIdVbxJD5LY7NxXH1KrAOoliSKZFmEINMClnENkd 3deSV3FPnT1ja+TPfSyMWS58Gy1o5iOcbZbS67xwCIHBn+TscioljPm8oE15soCkkbNcic cXD9L/Z1i/RUiZkoeMOem4i5Wp0r5earNNVGXcJ5yuGIOiG+83xY5lUFgsYpfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715476431; a=rsa-sha256; cv=none; b=K0eAQ2mqQNwOP4DVTEN+vnSTqrZQKb1ybwb+o70hlNH38nOTEcHVJa6/6zJMQK6PrcXxtn nxiWHg27WZHOHhunNcJWHslBrUKU2gSLaevqLOIeeKDZz1eyqmUypogw90+StyBs+0DbqC JRwH53rw/t4nQDtAGSOj1OUs/0ABf+3o1wvl7j2QNPVT7wzV2SsL6eQsHwqBkesj9BsEFA tXglhKAlRXoSPGqwfMyjrLlJhdYJs23zFIFI+YNtGi3rU0XukPdarFsbwFed8gla/E2U/Q 6PA8HNrGJriSVQ/Q8W7/GjCLhP/FYA3y8eg6NKFtS+h5vpi4GBANqSJeTyNuaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715476431; 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=t2Igs+xDxh71LKvbdPuwchxpczyUVg0AZn6hmwPWgHI=; b=bGGeM5MnwUEbPsDUkatsyLjZG54g3ENP6/7u+08l4skE+5rZ6DYVtGx3UYBQssVwo2P8Nq USJZO1JUHIs74s5ifbK03RZEoiIBkANc1fUO7bx/Xe0f4UWA3lM7j/v8Yq7hMm3/RWuG0I 2VUq7i5WOOpG2aq1jsBvB0bpHfYyoeJdlxYnibmMfweUB6Wgau5kuHne0XHfxIq+JBDhul nKxsPFY6LyKprI8dA5v5qZNgZ9j579wNsGHg2WB16CLAWEaPQ93GVyFSFx20vIrfAXkhvh 5o2uOM70EvMuCTEeJbiuSqQ+KegZjqXpOeBKfgSaFnhWnkBFWC6O5mOhyUD8qQ== 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 4VcPlL6t0bzk1k; Sun, 12 May 2024 01:13:50 +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 44C1DouC019380; Sun, 12 May 2024 01:13:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44C1Dojs019377; Sun, 12 May 2024 01:13:50 GMT (envelope-from git) Date: Sun, 12 May 2024 01:13:50 GMT Message-Id: <202405120113.44C1Dojs019377@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 6d79564fe341 - main - devfs_allocv(): style 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/main X-Git-Reftype: branch X-Git-Commit: 6d79564fe341c8dbf09405cae1a0a76460aaf8aa Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6d79564fe341c8dbf09405cae1a0a76460aaf8aa commit 6d79564fe341c8dbf09405cae1a0a76460aaf8aa Author: Konstantin Belousov AuthorDate: 2024-05-07 12:33:01 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-12 01:13:00 +0000 devfs_allocv(): style Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/fs/devfs/devfs_vnops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index a35f6dbf9520..1ab575ec02bd 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -555,8 +555,7 @@ loop: if (devfs_allocv_drop_refs(0, dmp, de)) { vput(vp); return (ENOENT); - } - else if (VN_IS_DOOMED(vp)) { + } else if (VN_IS_DOOMED(vp)) { mtx_lock(&devfs_de_interlock); if (de->de_vnode == vp) { de->de_vnode = NULL;