diff options
| author | 2017-02-02 15:56:50 +0100 | |
|---|---|---|
| committer | 2017-02-02 08:20:48 -0700 | |
| commit | dc3b17cc8bf21307c7e076e7c778d5db756f7871 (patch) | |
| tree | 63a1e6c9b6c70579e9cdabf60147484c0b2f0add /include/linux/blkdev.h | |
| parent | block: Unhash block device inodes on gendisk destruction (diff) | |
| download | linux-dev-dc3b17cc8bf21307c7e076e7c778d5db756f7871.tar.xz linux-dev-dc3b17cc8bf21307c7e076e7c778d5db756f7871.zip | |
block: Use pointer to backing_dev_info from request_queue
We will want to have struct backing_dev_info allocated separately from
struct request_queue. As the first step add pointer to backing_dev_info
to request_queue and convert all users touching it. No functional
changes in this patch.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 11f7a8e86a89..a75e42de34ab 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -432,7 +432,8 @@ struct request_queue { */ struct delayed_work delay_work; - struct backing_dev_info backing_dev_info; + struct backing_dev_info *backing_dev_info; + struct backing_dev_info _backing_dev_info; /* * The queue owner gets to use this for whatever they like. |
