]> git.baikalelectronics.ru Git - kernel.git/commit
bio-integrity: move the bio integrity profile check earlier in bio_integrity_prep
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Aug 2017 15:48:08 +0000 (17:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Aug 2017 16:00:29 +0000 (10:00 -0600)
commit5591c86a8d3b1eba660d79c8b9b34e307c401292
tree1115856c8a64082f87689569f70f01ad1ce91d04
parent8c409745ec576effce0d99c0691f52484127c13d
bio-integrity: move the bio integrity profile check earlier in bio_integrity_prep

This makes the code more obvious, and moves the most likely branch first
in the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c