Commit fbc3423
brd: decrease the number of allocated pages which discarded
[ Upstream commit 8273420 ]
The number of allocated pages which discarded will not decrease.
Fix it.
Fixes: 9ead7ef ("brd: implement discard support")
Signed-off-by: Zhang Xianwei <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent 01a853f commit fbc3423
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
0 commit comments