Re: [PATCH 6/8] bio-integrity: add bio_integrity_setup helper

2017-03-31 Thread kbuild test robot
Hi Dmitry, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc4] [cannot apply to block/for-next next-20170331] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dmitry-Monak

[PATCH 6/8] bio-integrity: add bio_integrity_setup helper

2017-03-30 Thread Dmitry Monakhov
Currently all integrity prep hooks are open-coded, and if prepare fails we ignore it's code and fail bio with EIO. Let's return real error to upper layer, so later caller may react accordingly. For example retry in case of ENOMEM. Signed-off-by: Dmitry Monakhov --- block/blk-core.c | 5 +---