Re: [PATCH] btrfs-progs: dump-super: Refactor print function and add extra check

2018-04-09 Thread Qu Wenruo
On 2018年04月09日 16:06, Nikolay Borisov wrote: > > > On 9.04.2018 10:47, Qu Wenruo wrote: >> When manually patching super blocks, current validation check is pretty >> weak (limited to magic number and csum) and doesn't provide extra check >> for some obvious corruption (like invalid

Re: [PATCH] btrfs-progs: dump-super: Refactor print function and add extra check

2018-04-09 Thread Nikolay Borisov
On 9.04.2018 10:47, Qu Wenruo wrote: > When manually patching super blocks, current validation check is pretty > weak (limited to magic number and csum) and doesn't provide extra check > for some obvious corruption (like invalid sectorsize). > > This patch will enhance dump-super by: > > 1)