summaryrefslogtreecommitdiff
path: root/cmds-rescue.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2017-10-17 15:12:39 +0800
committerDavid Sterba <dsterba@suse.com>2017-11-14 15:59:00 +0100
commita450dc4bfe76329b908e2b5aa43d3e6a6aa22732 (patch)
tree0959f231c8a70ea051c227293f86e0b4b13330fb /cmds-rescue.c
parentea9cd9df2be56041e2d62b0e72c77695b03261f7 (diff)
btrfs-progs: Introduce function to fix super block total bytes
Recent kernel (starting from v4.6) will refuse to mount if super block total bytes is smaller than all devices' size. This makes end user unable to do anything to their otherwise quite healthy fs. To fix such problem, introduce repair function to fix it on an unmounted filesystem. Reported-by: Asif Youssuff <yoasif@gmail.com> Reported-by: Rich Rauenzahn <rrauenza@gmail.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-rescue.c')
0 files changed, 0 insertions, 0 deletions