Re: [PATCH] block: Don't invalidate pagecache for invalid falloc modes

From: Jens Axboe
Date: Wed Oct 11 2023 - 17:54:29 EST



On Wed, 11 Oct 2023 13:12:30 -0700, Sarthak Kukreti wrote:
> Only call truncate_bdev_range() if the fallocate mode is
> supported. This fixes a bug where data in the pagecache
> could be invalidated if the fallocate() was called on the
> block device with an invalid mode.
>
>

Applied, thanks!

[1/1] block: Don't invalidate pagecache for invalid falloc modes
commit: 1364a3c391aedfeb32aa025303ead3d7c91cdf9d

Best regards,
--
Jens Axboe