]> asedeno.scripts.mit.edu Git - linux.git/commit
skd: Use a structure instead of hardcoding structure offsets
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:07 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commitd891fe6093e8c5741800d3f82b6297bd940a9e40
tree126ae4d68d1aaf8674880604afb2e615a0a44f8a
parent6507f436f92c37a7963bf0d55df7b673d8d6f533
skd: Use a structure instead of hardcoding structure offsets

This change makes the source code 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