aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2023-08-11 14:36:01 +0800
committerTheodore Ts'o <[email protected]>2023-08-15 09:00:33 -0400
commit9600f3e5cfd0360b10c271149032c77917baedc5 (patch)
tree73659efe2b27aa146c0c33af50f7c8b26dc9a671 /tools/perf/util/trace-event-scripting.c
parentc30713084ba5b6fa343129613ec349ea91f0c458 (diff)
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 <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions