aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2024-05-16 11:10:23 +0800
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:18 +0200
commit70559abf6241c9ffe23e526a66960ac76d258e0e (patch)
tree090b822ab7c7cf15899a7b2f0244b6e446cc0414 /fs/btrfs/dev-replace.c
parent4e660ca3a98d93180973426239e69ee44f4d7941 (diff)
downloadlinux-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