Commit 2d2d392a authored by Zhang Xianwei's avatar Zhang Xianwei Committed by Greg Kroah-Hartman
Browse files

brd: decrease the number of allocated pages which discarded



[ Upstream commit 82734209 ]

The number of allocated pages which discarded will not decrease.
Fix it.

Fixes: 9ead7efc ("brd: implement discard support")

Signed-off-by: default avatarZhang Xianwei <zhang.xianwei8@zte.com.cn>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241128170056565nPKSz2vsP8K8X2uk2iaDG@zte.com.cn


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dcaa738a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment