UBI: bugfix: do not forget to increment vol_count
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 13:59:39 +0000 (15:59 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:28 +0000 (17:08 +0300)
When creating a new volume, do not forget to increment the
vol_count variable.

Also, users are not interested in internal volumes, so do not show
them in the volumes_count sysfs file.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/vmt.c

Simple merge
Simple merge