]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: correct l_next_free_rec in online check
authorJulian Sun <sunjunchao2870@gmail.com>
Mon, 6 Jan 2025 02:34:32 +0000 (10:34 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 25 Jan 2025 06:47:23 +0000 (22:47 -0800)
commitfdbb6cd96ed51da002bd9a5a142586a74a436784
treee2b6fec697c8b95356caf8df6ca4c1caf3ac20ca
parent34bb50c42335b9316cbdb9506c2c4126a66a52ee
ocfs2: correct l_next_free_rec in online check

Correct the value of l_next_free_rec to l_count during the online check,
as done in the check_el() function in ocfs2_tools.

Link: https://lkml.kernel.org/r/20250106023432.1320904-2-sunjunchao2870@gmail.com
Signed-off-by: Julian Sun <sunjunchao2870@gmail.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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/inode.c