diff options
author | Anand Jain <anand.jain@oracle.com> | 2024-05-16 11:10:23 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:18 +0200 |
commit | 70559abf6241c9ffe23e526a66960ac76d258e0e (patch) | |
tree | 090b822ab7c7cf15899a7b2f0244b6e446cc0414 /fs/btrfs/dev-replace.c | |
parent | 4e660ca3a98d93180973426239e69ee44f4d7941 (diff) | |
download | linux-70559abf6241c9ffe23e526a66960ac76d258e0e.tar.gz linux-70559abf6241c9ffe23e526a66960ac76d258e0e.tar.bz2 linux-70559abf6241c9ffe23e526a66960ac76d258e0e.zip |
btrfs: drop bytenr_orig and fix comment in btrfs_scan_one_device()
Drop the single-use variable bytenr_orig and instead use btrfs_sb_offset()
in the function argument passing.
Fix a stale comment about not automatically fixing a bad primary
superblock from the backup mirror copies. Also, move the comment closer
to where the primary superblock read occurs.
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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions