linux/fs/ocfs2
Heming Zhao f921da2c34 ocfs2: fix incorrect CPU endianness conversion causing mount failure
Commit 23aab03710 ("ocfs2: fix UBSAN warning in ocfs2_verify_volume()")
introduced a regression bug.  The blksz_bits value is already converted to
CPU endian in the previous code; therefore, the code shouldn't use
le32_to_cpu() anymore.

Link: https://lkml.kernel.org/r/20250121112204.12834-1-heming.zhao@suse.com
Fixes: 23aab03710 ("ocfs2: fix UBSAN warning in ocfs2_verify_volume()")
Signed-off-by: Heming Zhao <heming.zhao@suse.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-02-01 03:53:24 -08:00
..
cluster ocfs2: replace deprecated simple_strtol with kstrtol 2025-01-12 20:21:07 -08:00
dlm ocfs2: use str_yes_no() and str_no_yes() helper functions 2025-01-24 22:47:28 -08:00
dlmfs dlmfs: convert to the new mount API 2025-01-12 20:21:05 -08:00
acl.c
acl.h
alloc.c ocfs2: check tl->count of truncate log inode in ocfs2_get_truncate_log_info 2025-01-24 22:47:23 -08:00
alloc.h ocfs2: convert ocfs2_map_and_dirty_page() to ocfs2_map_and_dirty_folio() 2025-01-12 20:21:13 -08:00
aops.c ocfs2: convert ocfs2_read_inline_data() to take a folio 2025-01-12 20:21:13 -08:00
aops.h ocfs2: remove ocfs2_start_walk_page_trans() prototype 2025-01-12 20:21:13 -08:00
blockcheck.c
blockcheck.h
buffer_head_io.c
buffer_head_io.h
dcache.c ocfs2_dentry_revalidate(): use stable parent inode and name passed by caller 2025-01-27 19:25:24 -05:00
dcache.h
dir.c ocfs2: check dir i_size in ocfs2_find_entry 2025-01-15 21:15:44 -08:00
dir.h
dlmglue.c ocfs2: use str_yes_no() and str_no_yes() helper functions 2025-01-24 22:47:28 -08:00
dlmglue.h ocfs2: convert ocfs2_inode_lock_with_page() to ocfs2_inode_lock_with_folio() 2025-01-12 20:21:10 -08:00
export.c
export.h
extent_map.c ocfs2: check el->l_next_free_rec in ocfs2_get_clusters_nocache 2025-01-24 22:47:23 -08:00
extent_map.h
file.c ocfs2: support large folios in ocfs2_write_zero_page() 2025-01-12 20:21:14 -08:00
file.h
filecheck.c
filecheck.h
heartbeat.c
heartbeat.h
inode.c ocfs2: correct l_next_free_rec in online check 2025-01-24 22:47:23 -08:00
inode.h
ioctl.c ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
ioctl.h
journal.c ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
journal.h
Kconfig
localalloc.c ocfs2: fix the space leak in LA when releasing LA 2024-12-18 19:04:41 -08:00
localalloc.h
locks.c
locks.h
Makefile
mmap.c ocfs2: pass mmap_folio around instead of mmap_page 2025-01-12 20:21:10 -08:00
mmap.h
move_extents.c ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
move_extents.h
namei.c ocfs2: remove parameter parent_fe_bh from __ocfs2_mknod_locked 2025-01-24 22:47:24 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2.h
ocfs2_fs.h ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
ocfs2_ioctl.h ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
ocfs2_lockid.h ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
ocfs2_lockingver.h
ocfs2_trace.h ocfs2: convert to the new mount API 2025-01-12 20:21:06 -08:00
quota.h
quota_global.c ocfs2: mark dquot as inactive if failed to start trans while releasing dquot 2025-01-24 22:47:23 -08:00
quota_local.c ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv 2024-12-30 17:59:09 -08:00
refcounttree.c ocfs2: convert ocfs2_map_and_dirty_page() to ocfs2_map_and_dirty_folio() 2025-01-12 20:21:13 -08:00
refcounttree.h
reservations.c
reservations.h ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
resize.c ocfs2: uncache inode which has failed entering the group 2024-11-14 22:43:48 -08:00
resize.h
slot_map.c
slot_map.h
stack_o2cb.c ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
stack_user.c
stackglue.c treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
stackglue.h ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
suballoc.c
suballoc.h
super.c ocfs2: fix incorrect CPU endianness conversion causing mount failure 2025-02-01 03:53:24 -08:00
super.h
symlink.c ocfs2: use a folio in ocfs2_fast_symlink_read_folio() 2025-01-12 20:21:13 -08:00
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
xattr.c ocfs2: miscellaneous spelling fixes 2025-01-12 20:21:07 -08:00
xattr.h