Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 70559abf authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

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: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 4e660ca3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment