On Tue, Aug 20, 2019 at 11:13:11PM -0700, Chaitanya Kulkarni wrote: > This patch creates a helper for handling badblocks code in the > null_handle_cmd(). > > Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> > --- > drivers/block/null_blk_main.c | 24 +++++++++++++++++------- > 1 file changed, 17 insertions(+), 7 deletions(-) Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>