summaryrefslogtreecommitdiff
path: root/linux/blkdev.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-05-05 01:49:48 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-05-05 04:28:45 -0800
commitf9395eeca59290b210bc2b79f7bf2e9cb779cf3f (patch)
treec88c76ffdc400ce7b5f354a79574823a2dcb4074 /linux/blkdev.c
parente004b95b88ae95cf7bb26bd7dc80c5dcf2b2664a (diff)
Update bcachefs sources to 3610542890 bcachefs: Convert to skcipher interface for chacha20
Diffstat (limited to 'linux/blkdev.c')
-rw-r--r--linux/blkdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/blkdev.c b/linux/blkdev.c
index 7fe638f6..70995c8b 100644
--- a/linux/blkdev.c
+++ b/linux/blkdev.c
@@ -194,6 +194,8 @@ struct block_device *blkdev_get_by_path(const char *path, fmode_t mode,
bdev->bd_sync_fd = sync_fd;
bdev->bd_holder = holder;
bdev->bd_disk = &bdev->__bd_disk;
+ bdev->bd_bdi = &bdev->__bd_bdi;
+ bdev->queue.backing_dev_info = bdev->bd_bdi;
return bdev;
}