On Tue, Nov 12, 2024 at 09:21:44AM +0000, John Garry wrote: > lim->discard_granularity is always at least SECTOR_SIZE, so drop the > pointless check for granularity less than SECTOR_SIZE. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
On Tue, Nov 12, 2024 at 09:21:44AM +0000, John Garry wrote: > lim->discard_granularity is always at least SECTOR_SIZE, so drop the > pointless check for granularity less than SECTOR_SIZE. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>