lkml.org 
[lkml]   [2023]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] block: Don't invalidate pagecache for invalid falloc modes
Date

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



\
 
 \ /
  Last update: 2023-10-11 23:55    [W:0.046 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site