On Mon, Oct 16, 2017 at 04:31:12PM +0800, Lu Fengqi wrote: > On Mon, Oct 16, 2017 at 04:22:56PM +0800, Qu Wenruo wrote: > >test_minimum_size() function is only called to check if provided device > >is large enough. > > > >However the minimal device size only needs to be calculated once, and > >can be reused everywhere. > > > >Refactor that function to make later modification easier. > > > >Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> > > Reviewed-by: Lu Fengqi <lufq.fnst@xxxxxxxxxxxxxx> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
