On Wed, Mar 22, 2017 at 06:30:28PM +0400, Dmitry Monakhov wrote: > + > + mapping = bdev->bd_inode->i_mapping;
move this assignment to the declaration of mapping at the beginning of the function? Otherwise this looks fine: Reviewed-by: Christoph Hellwig <[email protected]>

