diff options
| author | Chao Yu <chao2.yu@samsung.com> | 2016-01-12 07:49:16 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-15 08:27:40 +0200 |
| commit | 15de5f8f3c5d1ea982a4aa270fc10cd78c6682a0 (patch) | |
| tree | f92fd69be13f9d0bab5390a62809765bb89ef640 /include/uapi/linux | |
| parent | cf48dc15f10a8524c37dd0a7f2821b3123d54744 (diff) | |
lightnvm: fix incorrect nr_free_blocks stat
[ Upstream commit bdded1552085b12d23c9be76147d2e96647a098f ]
When initing bad block list in gennvm_block_bb, once we move bad block
from free_list to bb_list, we should maintain both stat info
nr_free_blocks and nr_bad_blocks. So this patch fixes to add missing
operation related to nr_free_blocks.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
