summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorJan Kara2017-02-02 15:56:51 +0100
committerJens Axboe2017-02-02 16:20:50 +0100
commitd03f6cdc1fc422accb734c7c07a661a0018d8631 (patch)
treefe3500795df51b8ad11a0f76dddfa27d60fecf13 /fs/block_dev.c
parentblock: Use pointer to backing_dev_info from request_queue (diff)
downloadkernel-qcow2-linux-d03f6cdc1fc422accb734c7c07a661a0018d8631.tar.gz
kernel-qcow2-linux-d03f6cdc1fc422accb734c7c07a661a0018d8631.tar.xz
kernel-qcow2-linux-d03f6cdc1fc422accb734c7c07a661a0018d8631.zip
block: Dynamically allocate and refcount backing_dev_info
Instead of storing backing_dev_info inside struct request_queue, allocate it dynamically, reference count it, and free it when the last reference is dropped. Currently only request_queue holds the reference but in the following patch we add other users referencing backing_dev_info. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions