diff options
author | 2025-01-02 02:06:30 +0800 | |
---|---|---|
committer | 2025-01-13 14:53:20 +0100 | |
commit | a5019b70704a8cbea4c295ae7a61abd87300ff29 (patch) | |
tree | 126c37d12f923f9107bf41989f8b284a3bbb2a33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: xattr: remove unnecessary call to btrfs_mark_buffer_dirty() (diff) | |
download | wireguard-linux-a5019b70704a8cbea4c295ae7a61abd87300ff29.tar.xz wireguard-linux-a5019b70704a8cbea4c295ae7a61abd87300ff29.zip |
btrfs: initialize fs_devices->fs_info earlier in btrfs_init_devices_late()
Currently, fs_devices->fs_info is initialized in btrfs_init_devices_late(),
but this occurs too late for find_live_mirror(), which is invoked by
load_super_root() much earlier than btrfs_init_devices_late().
Fix this by moving the initialization to open_ctree(), before load_super_root().
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions