diff options
author | Jens Axboe <axboe@fb.com> | 2017-02-02 16:53:07 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 16:53:07 -0700 |
commit | e17354961bb50931ec7b33f59c0713dcf98ac7d2 (patch) | |
tree | a1f8c826796257d1e6d357410e8a42014319d236 /drivers | |
parent | 6ac93117ab009d3901ed5d3d0f79056eb5fc0afd (diff) | |
download | linux-e17354961bb50931ec7b33f59c0713dcf98ac7d2.tar.bz2 |
zram_drv: update for backing dev info changes
A previous commit made the bdi embedded in the request queue
a pointer, but neglected to fixup zram. Fix it up.
Fixes: dc3b17cc8bf ("block: Use pointer to backing_dev_info from request_queue")
Reported-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/zram/zram_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index e5ab7d9e8c45..3cd7856156b4 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -117,7 +117,7 @@ static void zram_revalidate_disk(struct zram *zram) { revalidate_disk(zram->disk); /* revalidate_disk reset the BDI_CAP_STABLE_WRITES so set again */ - zram->disk->queue->backing_dev_info.capabilities |= + zram->disk->queue->backing_dev_info->capabilities |= BDI_CAP_STABLE_WRITES; } |