summaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-07-30 14:59:50 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-02 07:21:19 +0300
commit64d4b4c90a876401e503c3a3260e9d0ed066f271 (patch)
tree4da6a688f44cdec560792a29e24031a00a0696ef /fs/nfs/write.c
parent7cdb996ee4d04b5bb2cd544b14e8eb91cfd7fe64 (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 <mlcreech@gmail.com> 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 <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions