diff options
author | Artem Bityutskiy <[email protected]> | 2010-07-30 14:59:50 +0300 |
---|---|---|
committer | Artem Bityutskiy <[email protected]> | 2010-08-02 07:21:19 +0300 |
commit | 64d4b4c90a876401e503c3a3260e9d0ed066f271 (patch) | |
tree | 4da6a688f44cdec560792a29e24031a00a0696ef /net/unix/sysctl_net_unix.c | |
parent | 7cdb996ee4d04b5bb2cd544b14e8eb91cfd7fe64 (diff) |
UBI: do not warn unnecessarily
Currently, when UBI attaches an MTD device and cannot reserve all 1% (by
default) of PEBs for bad eraseblocks handling, it prints a warning. However,
Matthew L. Creech <[email protected]> is not very happy to see this warning,
because he did reserve enough of PEB at the beginning, but with time some
PEBs became bad. The warning is not necessary in this case.
This patch makes UBI print the warning
o if this is a new image
o of this is used image and the amount of reserved PEBs is only 10% (or less)
of the size of the reserved PEB pool.
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions