commit | 5f09aaa9b30c91e6f72790bfb975240e8116d6db | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 16 16:59:13 2016 +0200 |
committer | Richard Weinberger <richard@nod.at> | Sun Oct 02 22:48:14 2016 +0200 |
tree | a358799b6ed7c35094488d83f43c53b5ed75025b | |
parent | ecbfa8eabae9cd73522d1d3d15869703c263d859 [diff] |
UBI: use vol->usable_leb_size instead of (ubi->leb_size - vol->data_pad) vol->usable_size is already set to ubi->leb_size - vol->data_pad. Use vol->usable_size instead of recalculating it. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>