]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Dec 2007 17:15:18 +0000 (19:15 +0200)
commit4b3cc340614e552c476bec29d984c5a363b26494
tree5fd0df68217f18dcfb80761c932a5dcba5de947d
parentaeddb87718823fb81b896155b34d1bb4c8cae874
UBI: bugfix: do not forget to increment vol_count

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