]> git.itanic.dy.fi Git - linux-stable/commit
null_blk: use the default discard granularity
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Dec 2023 07:55:42 +0000 (07:55 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Dec 2023 15:44:12 +0000 (08:44 -0700)
commit724325477f8a48ce1defc2a49998bbc19fe85c88
treea26840ce2fbd68533d4038463269c139b60f5334
parent1e2ab2e8a98c9e0629b5b8bff8ee6f2cb3e8daac
null_blk: use the default discard granularity

The discard granularity now defaults to a single sector, so don't set
that value explicitly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231228075545.362768-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c