Re: [PATCH next 1/3] truncate,shmem: Fix data loss when hole punched in folio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 02, 2022 at 05:32:28PM -0800, Hugh Dickins wrote:
>  
> +	same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT);

Should this move to the else branch?

Same for the other copy of this code.  Otherwise this looks sane.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux