diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 18:06:17 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-05 10:38:33 -0600 |
commit | 155bd9d1abd60497f3e84ef3251b40209f7f7900 (patch) | |
tree | 38300a8cf8b17645357c9905e4e6d78927a77f56 /block | |
parent | 76cffccd606acffde1b91e8b029b39b5fd1a3117 (diff) | |
download | linux-stable-155bd9d1abd60497f3e84ef3251b40209f7f7900.tar.gz linux-stable-155bd9d1abd60497f3e84ef3251b40209f7f7900.tar.bz2 linux-stable-155bd9d1abd60497f3e84ef3251b40209f7f7900.zip |
drbd: remove ->this_bdev
DRBD keeps a block device open just to get and set the capacity from
it. Switch to primarily using the disk capacity as intended by the
block layer, and sync it to the bdev using revalidate_disk_size.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions