diff options
author | Josef Bacik <jbacik@fb.com> | 2015-01-14 14:40:21 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2015-02-09 14:53:14 -0500 |
commit | 1b7126f93722064eff6ee0792694a598a37bef30 (patch) | |
tree | c83bf8c8e415314510447734ebbe9fcca69348a0 /cmds-check.c | |
parent | cc73e60d952af55f4aac5266711456d5a774c207 (diff) |
Btrfs-progs: read super properly in btrfs-image
When btrfs-image makes a metadump it'll map all the blocks from their logical
address to their physical. This works out fine with the exception of the super
block, which is the physical offset. Normally this just works, but if the user
has balanced their fs it'll either crash btrfs-image or it'll copy some
completely arbitrary data. This forces btrfs-image to read the super directly
from the disk. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions