From nobody Sat Jul 11 22:05:24 2026 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 4gyN6s2Fpzz6lhl5 for ; Sat, 11 Jul 2026 22:05:25 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gyN6r6YdXz3x1W for ; Sat, 11 Jul 2026 22:05:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783807524; 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=jhdMtdiguT5UDoM5fSIifjckMeoD3trhFvwIEo7VL+s=; b=VFCR/1Y4BkR4a2wr+8K11L+2iF2lXBACuJ3bLjd5x8YUNvOr1NumVlBYCPak7extN/HUCi KhiYQMhmTV7dwW8yOAqetMRPpWmM7h68ahjqBmf6tV1AW573+MChoSUt7kZVXWZxghKlKO 2f2JlhQfH7zfbN0vRfGMk+ko9q/edXfNTQjYmzjkPNEl47Mlz2nxvpYO1bobslLuTCIsMX 5WHjxlJcVoF7supb8YlkZiD9DMG9MCuYNjglSL2/R64JBdku1EOqShmtlkmWv1DfB37U0B HOkOL0wO39rk57Kz/xH8PJup4QQZcza8oKqcmAUI0CmyoaLp183bLM7c74L4hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1783807524; a=rsa-sha256; cv=none; b=lMNrh6LTPNLTQmaBS70aOtXPCQ0kv+NgRe8KhB0Ajznu3NFKTrRXiruC22C5UQl61OJRbK s+8aNW60+4wbUT2oxgJrrvJmxTLzt/OKVGQx+L+lXQO8V/C+hTOlPk40a9wjdkOkbhxFX3 JR5Lj39CGBzkNN1tQ6hvSXLe13SCE+j00bCQj3xa5A+UP99dpRzIcDtJhYrqyuNWwBs9zZ 5EaKfdL0VMPB+hlpPPqFZdkWvt3iI4KFRRuy6nc8Tkw8ZbDRSsykGFtRH2IOVd52VqwVgr K/Vop+MUVj9MwovSUJIUECjkeGamDuUAYbIb8pUAM662TfIO88PxK6xvKWcNvw== 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=1783807524; 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=jhdMtdiguT5UDoM5fSIifjckMeoD3trhFvwIEo7VL+s=; b=EuYnL/nx9PqKvMxx0xzdRa4NJgj63AspqQkzkhIIRsGUdZOnCu31C9gmE2bJ7Vk+hn0FwI FzHDkyJqDCJiQm9TVhNetN9MSf92I4nEeLmA4cN+Ze11O0L7PRpQwViIROghQy3xhoUSc1 b1/wR02AFHhe64CFVA3SsSs95WPgFSDGOulVjMtjU4eel6YHQMwLrCMBeEcyz2W/kI7iMO caUf891yqALlNUFTwGSEQ/ktP6G+Hclx7tgQ2x0DT84qb1Kio3jmbhTzMBQQtv58MinqBm 9ECWNJxRu0NJyaEKnxfjCXY6PZ2a88tGrCvIJ72A3gjcUrpx/WSe6HDaFpofPg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gyN6r4pmZzypH for ; Sat, 11 Jul 2026 22:05:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3d9ec by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 11 Jul 2026 22:05:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 631b8ff9318a - main - tmpfs_rename(): 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: 631b8ff9318a83b985d3a8a790dd0fc1bab9d5cd Auto-Submitted: auto-generated Date: Sat, 11 Jul 2026 22:05:24 +0000 Message-Id: <6a52be24.3d9ec.330e250@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=631b8ff9318a83b985d3a8a790dd0fc1bab9d5cd commit 631b8ff9318a83b985d3a8a790dd0fc1bab9d5cd Author: Konstantin Belousov AuthorDate: 2026-06-19 08:11:18 +0000 Commit: Konstantin Belousov CommitDate: 2026-07-11 22:04:43 +0000 tmpfs_rename(): style Reviewed by: mckusick Discussed with: markj Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D57658 --- sys/fs/tmpfs/tmpfs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 05d8f3e863e8..b635450f205f 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1104,8 +1104,8 @@ tmpfs_rename(struct vop_rename_args *v) } } - if ((fnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) - || (fdnode->tn_flags & (APPEND | IMMUTABLE))) { + if ((fnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) != 0 || + (fdnode->tn_flags & (APPEND | IMMUTABLE)) != 0) { error = EPERM; goto out_locked; }