Re: [PATCH 08/16] btrfs-progs: check: Move count_csum_range function to check/common.c

2018-01-18 Thread Su Yue
On 01/19/2018 01:37 PM, Qu Wenruo wrote: Despite of moving it to check/common.c, also: 1) Add extra comment of the function 2) Change @root paramter to @fs_info 'paramter' may be misspelled - perhaps 'parameter'? Thanks, Su Since @root is never used, csum_root is picked from fs_info a

[PATCH 08/16] btrfs-progs: check: Move count_csum_range function to check/common.c

2018-01-18 Thread Qu Wenruo
Despite of moving it to check/common.c, also: 1) Add extra comment of the function 2) Change @root paramter to @fs_info Since @root is never used, csum_root is picked from fs_info anyway. Signed-off-by: Qu Wenruo --- Makefile | 2 +- check/common.c | 101 +