diff options
author | 2008-05-21 14:34:56 +0300 | |
---|---|---|
committer | 2008-07-24 13:32:54 +0300 | |
commit | a0fd1efd488092951f310fdb777b8a540cf84dcb (patch) | |
tree | d085115d57460e5ac29cdb61bf78fab9c1d3628d /lib/bitmap.c | |
parent | UBI: add a comment (diff) | |
download | linux-dev-a0fd1efd488092951f310fdb777b8a540cf84dcb.tar.xz linux-dev-a0fd1efd488092951f310fdb777b8a540cf84dcb.zip |
UBI: fix buffer padding
Instead of correctly pad the buffer wich we are writing to the
eraseblock during update, we used weird construct:
memset(buf + len, 0xFF, len - len);
Fix this.
Signed-off-by: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions