xen/blkfront: correct purging of persistent grants
authorJuergen Gross <jgross@suse.com>
Fri, 28 Sep 2018 07:28:27 +0000 (09:28 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Sep 2018 15:40:39 +0000 (09:40 -0600)
commit6c7678674014b4552caf0e5aa0ca34078a377482
treef05b024078f3aea15130e67fbe71a22ff15cd036
parent15c206887603a452f13fbfde2db0f8830d37028c
xen/blkfront: correct purging of persistent grants

Commit a46b53672b2c2e3770b38a4abf90d16364d2584b ("xen/blkfront: cleanup
stale persistent grants") introduced a regression as purged persistent
grants were not pu into the list of free grants again. Correct that.

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkfront.c