From nobody Sun May 19 00:59:42 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 4Vhj5q1yPgz5KNFK; Sun, 19 May 2024 00:59:43 +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 4Vhj5q0dK5z4CWs; Sun, 19 May 2024 00:59:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716080383; 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=IX8rhTCKcTrLAltrvJxjD5dovwVSiVIPiGrU4GkRuEk=; b=NtHMiQhrXIxVihXkxQjMaoER+17ZX+OqmaVNo8wCUl3HGD6XoADrjhuuNV81PO44WUDrHt tgtfNO1ourcZQa5x0XncAgI3cdfVW/FuEKsleXkIuQ/c4z2189pq/5bLnpSPfzBJZQqvXa zt1mNPkNwhEo0ghU7ew1jvokbhka1ANnsbDqCdGETC2wCzQOdeUZ2nJjRvny/wvJHiPM6O nPTZELbHX+0+Pq2W8stqKS2tqJ7UgUr1c7jsmvQ/x8WbbCyUay2ov4CY8mRplKGQmu2/2e HZYmrP2fYzTZhYFQXTeT7mlB3LE7VjxD/x+kEfhv0QyugSvoAt50uIjkDPfboQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716080383; a=rsa-sha256; cv=none; b=Mq9KVgXz08yeEKL3aWEH41/mGjb/lN84zTj7wFKzUig3//IO29TaFhYSpNzzTRA+gGrR1j 8Ce70yirH+qnaxjt7fX8ea4A7q17k94bv6wQXkVx4wmaqxXeEran66ZY9e/QKcDDNeESSP S5+J+pwDi0qfwRDd1T2Cko1mXRQgy9Si8/MEyqjHtUgNg8PjKN6D4bQ7Yn5Xs1cGI33vb9 bY3Qn530gs2Qx8tf8vZKzGSu8o0SioqLzKPxAOC7XogxgG7uWib7EQh2bwXWqWiPqfo7wC UsGknhGeYrFowzR8uQErb5T/cKS9tzdmdqlvpOe/0NPURQCpdCqo2GaWT2HXig== 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=1716080383; 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=IX8rhTCKcTrLAltrvJxjD5dovwVSiVIPiGrU4GkRuEk=; b=FYoIjrqe9gHnHL4jq6DldUIPpzm6g/j8OszuAgh9vx5bcRh6SpS1eR/LHp15m6Rn7AlD0Z 4bS/9wl9p1d7rpyyT3VmoLTPzAomN8r+0gS+fv3Li4Nu/zNQruAXmFY/306ihENKCBV1wd ibn8s7GWZEPpn66EO6pkknrJuv5ukGfLHbCgfmR2vGMt5//Xbj8PQrWV2QsTwzT7u/sOpf CwjM5//bceVxK9H0mO3yhvaJ3oJ8eOD3Gyq4+JlAosI/l7JPStBW4FliaiTQZ0TyKXaF46 L2NtVpS1XNXHep+ZOUOiI/iR71T79iLjd9pOEH7crbZ8saKEp++Jrbqo1wx6pA== 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 4Vhj5q0FXdzpZJ; Sun, 19 May 2024 00:59:43 +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 44J0xgdj080345; Sun, 19 May 2024 00:59:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44J0xgVr080342; Sun, 19 May 2024 00:59:42 GMT (envelope-from git) Date: Sun, 19 May 2024 00:59:42 GMT Message-Id: <202405190059.44J0xgVr080342@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: 7c23465541f3 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 7c23465541f328acab2192c870be31324ce436d9 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7c23465541f328acab2192c870be31324ce436d9 commit 7c23465541f328acab2192c870be31324ce436d9 Author: Konstantin Belousov AuthorDate: 2024-05-07 12:33:01 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-19 00:59:13 +0000 devfs_allocv(): style (cherry picked from commit 6d79564fe341c8dbf09405cae1a0a76460aaf8aa) --- 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 919ab2ff4381..535b2c198e64 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -574,8 +574,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;