diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-16 15:57:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 08:34:14 -0700 |
commit | 6e017a3931d7722260e3656a6fc9b02de5fb3c5d (patch) | |
tree | 19290c8bed9d15ec2e9a31c165bc8fc1eddebf02 /crypto/lzo-rle.c | |
parent | 230272b4f809d51c8b21d46dcec99f265b0842ec (diff) | |
download | linux-6e017a3931d7722260e3656a6fc9b02de5fb3c5d.tar.gz linux-6e017a3931d7722260e3656a6fc9b02de5fb3c5d.tar.bz2 linux-6e017a3931d7722260e3656a6fc9b02de5fb3c5d.zip |
zram: use set_capacity_and_notify
Use set_capacity_and_notify to set the size of both the disk and block
device. This also gets the uevent notifications for the resize for free.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/lzo-rle.c')
0 files changed, 0 insertions, 0 deletions