]> git.baikalelectronics.ru Git - kernel.git/commit
skd: Move skd_free_sg_list() up
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:30 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commit5b3359b0c271e37e9317947c377ff34adcf7ef78
treeaebc6e0239ead2194113a28f3346480396585a04
parentd69820b7960ba4e7728152f84a261be3bfeceb08
skd: Move skd_free_sg_list() up

Issue a warning if a NULL argument is passed to skd_free_sg_list().
Move this function up to make the blk-mq conversion patch easier
to read.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c