path: root/cmds-restore.c
diff options
authorQu Wenruo <>2016-09-20 10:19:02 +0800
committerDavid Sterba <>2016-10-03 15:07:22 +0200
commit3296d058b7cebb3a7a6c86988db72bed8cde49e1 (patch)
tree3eb83321fb7347a7f0ff487c81b7b94c2ef99d39 /cmds-restore.c
parent50c8c995eace63599ee956980b8e525fbe6a089b (diff)
btrfs-progs: super-recover: Reuse btrfs_read_dev_super function
We have enhanced super block validation check in disk_io.c, while super-recover doesn't use that function and use a custom one. That is duplicated, so reuse btrfs_read_dev_super to handle it, which not only enhanced super check, but also reduce the code length. Reported-by: hawken <> Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions