diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 19:06:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-05 19:38:33 +0300 |
commit | 155bd9d1abd60497f3e84ef3251b40209f7f7900 (patch) | |
tree | 38300a8cf8b17645357c9905e4e6d78927a77f56 /block/genhd.c | |
parent | 76cffccd606acffde1b91e8b029b39b5fd1a3117 (diff) | |
download | linux-155bd9d1abd60497f3e84ef3251b40209f7f7900.tar.xz |
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/genhd.c')
0 files changed, 0 insertions, 0 deletions