Date: Sat, 18 Jul 2026 00:28:12 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 5dc55cc4591e - stable/15 - tmpfs_rename(): style Message-ID: <6a5ac89c.3e3df.20e37057@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5dc55cc4591ef9d7aecc934a69351259cba99a10 commit 5dc55cc4591ef9d7aecc934a69351259cba99a10 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-06-19 08:11:18 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-07-18 00:27:24 +0000 tmpfs_rename(): style (cherry picked from commit 631b8ff9318a83b985d3a8a790dd0fc1bab9d5cd) --- 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 edd620cfdb5b..d42d601e630c 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; }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5ac89c.3e3df.20e37057>
