aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-03-30 07:29:04 +0200
committerJens Axboe <axboe@kernel.dk>2022-04-18 06:54:09 -0600
commitd666e20e2e7983d03bbf5e208b8485541ae616a1 (patch)
tree3d69995f58529f5aa33cfa770835322c238a6a98 /include/linux
parentnbd: use the correct block_device in nbd_bdev_reset (diff)
downloadlinux-dev-d666e20e2e7983d03bbf5e208b8485541ae616a1.tar.xz
linux-dev-d666e20e2e7983d03bbf5e208b8485541ae616a1.zip
zram: cleanup reset_store
Use a local variable for the gendisk instead of the part0 block_device, as the gendisk is what this function actually operates on. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220330052917.2566582-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions