sd/skd: stuff discard page in request->completion_data
authorJens Axboe <axboe@fb.com>
Thu, 17 Apr 2014 03:37:30 +0000 (21:37 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 17 Apr 2014 03:37:30 +0000 (21:37 -0600)
commitdc4a93078b8a6a10d2dcaba76ab488d6dbe73922
treecee24991c2d4fa7d6ad6e2be790fde880c0223ed
parentfb1be43301ce045b5e563416e701573464a2ed96
sd/skd: stuff discard page in request->completion_data

Store the pointer to the page there, so we can always safely
reference it from end_io context where ->bio may have been
cleared.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/skd_main.c
drivers/scsi/sd.c