On Wed, Jun 01, 2016 at 07:18:27PM +0800, Feifei Xu wrote: > To test all possible sectorsizes, this commit adds a sectorsize > array. This commit executes the tests for all possible sectorsizes and > nodesizes. > > Signed-off-by: Chandan Rajendra <[email protected]> > Signed-off-by: Feifei Xu <[email protected]> > --- > fs/btrfs/super.c | 54 ++++++++++++++++++++++++++++++++---------------------- > 1 file changed, 32 insertions(+), 22 deletions(-) > > diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c > index 5b0b354..c49d7ae 100644 > --- a/fs/btrfs/super.c > +++ b/fs/btrfs/super.c > @@ -2318,32 +2318,42 @@ static void btrfs_print_mod_info(void) > > static int btrfs_run_sanity_tests(void) > { > - int ret; > + int ret, i; > u32 sectorsize, nodesize; > - > - sectorsize = PAGE_SIZE; > - nodesize = PAGE_SIZE;
This does not seem to apply to any branch I'd expect to be relevant (master, for-linus, chandan's main patchset), please clarify. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
