diff options
| author | Joseph Qi <joseph.qi@linux.alibaba.com> | 2025-10-25 20:32:17 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-11-12 10:00:16 -0800 |
| commit | c9dff86eb78a4b6b02b1e407993c946ccaf9bfb4 (patch) | |
| tree | 312deed41df0f55fe6332414f720cee7d4745351 /lib/strncpy_from_user.c | |
| parent | 390ac56cf0f687de53695648bc6f2259a7eae429 (diff) | |
ocfs2: use correct endian in ocfs2_dinode_has_extents
Fields in ocfs2_dinode is little endian, covert to host endian when
checking those contents.
Link: https://lkml.kernel.org/r/20251025123218.3997866-1-joseph.qi@linux.alibaba.com
Fixes: fdbb6cd96ed5 ("ocfs2: correct l_next_free_rec in online check")
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Heming Zhao <heming.zhao@suse.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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions
