On 10/9/20 12:16 PM, Sedat Dilek wrote:
On Thu, Oct 8, 2020 at 5:56 PM Ritesh Harjani <riteshh@xxxxxxxxxxxxx> wrote:
left shifting m_lblk by blkbits was causing value overflow and hence
it was not able to convert unwritten to written extent.
So, make sure we typecast it to loff_t before do left shift operation.
Also in func ext4_convert_unwritten_io_end_vec(), make sure to initialize
ret variable to avoid accidentally returning an uninitialized ret.
This patch fixes the issue reported in ext4 for bs < ps with
dioread_nolock mount option.
Fixes: c8cc88163f40df39e50c ("ext4: Add support for blocksize < pagesize in dioread_nolock")
Fixes: tag should be 12 digits (see [1]).
( Seen while walking through ext-dev Git commits. )
Thanks Sedat, I guess it should be minimum 12 chars [1]
[1]:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n177
-ritesh