diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2023-08-11 09:36:09 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-08-23 07:04:20 +0300 |
commit | bc74e6a38d16d745a9bc28a7e343494019066492 (patch) | |
tree | 1ef197c754fdd2d755d35cfe9dd939ed4f8c6664 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8e6cf5fbb7b47d337998faab3fcacdceaa547ead (diff) | |
download | linux-bc74e6a38d16d745a9bc28a7e343494019066492.tar.xz |
ext4: cleanup ext4_get_dev_journal() and ext4_get_journal()
Factor out a new helper form ext4_get_dev_journal() to get external
journal bdev and check validation of this device, drop ext4_blkdev_get()
helper, and also remove duplicate check of journal feature. It makes
ext4_get_dev_journal() more clear than before.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230811063610.2980059-12-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions