[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171466148381.2958828.7901686717993253303.b4-ty@mit.edu>
Date: Thu, 2 May 2024 10:51:31 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, "Ritesh Harjani (IBM)" <ritesh.list@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, Jan Kara <jack@...e.cz>,
stable@...nel.org
Subject: Re: [PATCH 1/2] ext4: Fixes len calculation in mpage_journal_page_buffers
On Thu, 29 Feb 2024 11:40:13 +0530, Ritesh Harjani (IBM) wrote:
> Truncate operation can race with writeback, in which inode->i_size can get
> truncated and therefore size - folio_pos() can be negative. This fixes the
> len calculation. However this path doesn't get easily triggered even
> with data journaling.
>
>
Applied, thanks!
[1/2] ext4: Fixes len calculation in mpage_journal_page_buffers
commit: c2a09f3d782de952f09a3962d03b939e7fa7ffa4
[2/2] ext4: Remove PAGE_MASK dependency on mpage_submit_folio
commit: 53c17fe55a06cbb405b94d96759611d725d2c47a
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists