linux-stable/fs/jbd2
Zhang Yi 9600f3e5cf jbd2: don't load superblock in jbd2_journal_check_used_features()
Since load_superblock() has been moved to journal_init_common(), the
in-memory superblock structure is initialized and contains valid data
once the file system has a journal_t object, so it's safe to access it,
let's drop the call to journal_get_superblock() from
jbd2_journal_check_used_features() and also drop the setting/clearing of
the veirfy bit of the superblock buffer.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230811063610.2980059-4-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2023-08-15 09:00:33 -04:00
..
checkpoint.c jbd2: remove unused function '__cp_buffer_busy' 2023-08-04 16:32:29 -04:00
commit.c jbd2: remove t_checkpoint_io_list 2023-07-10 23:09:21 -04:00
journal.c jbd2: don't load superblock in jbd2_journal_check_used_features() 2023-08-15 09:00:33 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
recovery.c jbd2: continue to record log between each mount 2023-06-26 19:35:13 -04:00
revoke.c jbd2: rename jbd_debug() to jbd2_debug() 2022-08-02 23:52:19 -04:00
transaction.c jbd2: remove __journal_try_to_free_buffer() 2023-07-10 23:09:21 -04:00