[Devel] [PATCH RH7] ploop: Fix crash in purge_lru_warn()

Andrey Ryabinin aryabinin at virtuozzo.com
Tue Nov 10 20:30:27 MSK 2020



On 11/10/20 5:47 PM, Kirill Tkhai wrote:
> do_div() works wrong in case of the second argument is long.
> We don't need remainder, so we don't need do_div() at all.
> 
> https://jira.sw.ru/browse/PSBM-122035
> 
> Reported-by: Evgenii Shatokhin <eshatokhin at virtuozzo.com>
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>

Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list