]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ocfs2: convert to host endian in ocfs2_validate_inode_block
authorJoseph Qi <joseph.qi@linux.alibaba.com>
Sat, 25 Oct 2025 12:32:18 +0000 (20:32 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 12 Nov 2025 18:00:16 +0000 (10:00 -0800)
commit6e89373cec09af28dd54fc5eed00cde34992f8e2
tree697e70a0156c87540b3f99c9f70611ec6150c0fb
parentc9dff86eb78a4b6b02b1e407993c946ccaf9bfb4
ocfs2: convert to host endian in ocfs2_validate_inode_block

Convert to host endian when checking OCFS2_VALID_FL to keep consistent
with other checks.

Link: https://lkml.kernel.org/r/20251025123218.3997866-2-joseph.qi@linux.alibaba.com
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Heming Zhao <heming.zhao@suse.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/inode.c