Searched hist:"5 cf036d4f1489d7ba04b948e415f662521902c30" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | jbd2.h | diff 5cf036d4f1489d7ba04b948e415f662521902c30 Tue Mar 14 20:31:26 CDT 2023 Zhang Yi <yi.zhang@huawei.com> jbd2: switch to check format version in superblock directly
We should only check and set extented features if journal format version is 2, and now we check the in memory copy of the superblock 'journal->j_format_version', which relys on the parameter initialization sequence, switch to use the h_blocktype in superblock cloud be more clear.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230315013128.3911115-5-chengzhihao1@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
|
/openbmc/linux/fs/jbd2/ |
H A D | journal.c | diff 5cf036d4f1489d7ba04b948e415f662521902c30 Tue Mar 14 20:31:26 CDT 2023 Zhang Yi <yi.zhang@huawei.com> jbd2: switch to check format version in superblock directly
We should only check and set extented features if journal format version is 2, and now we check the in memory copy of the superblock 'journal->j_format_version', which relys on the parameter initialization sequence, switch to use the h_blocktype in superblock cloud be more clear.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230315013128.3911115-5-chengzhihao1@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
|