]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: allow more than one volume to be mounted
authorDaniel Mack <daniel@caiaq.de>
Thu, 2 Jul 2009 15:15:47 +0000 (17:15 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 5 Jul 2009 15:45:19 +0000 (18:45 +0300)
commit4c0a9f9646aede1a244f9540e91bc02bbf85768b
treede3fc29704e9f6301f6c67ffd352f9eb524538fd
parent7db7501d4f8f02cf16bd413770aafe75fdb6c889
UBIFS: allow more than one volume to be mounted

UBIFS uses a bdi device per volume, but does not care to hand out unique
names to each of them. This causes an error when trying to mount more
than one volumes. Append the UBI volume and device ID to avoid that.

[Amended a bit by Artem Bityutskiy]

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Artem Bityutskiy <dedekind@infradead.org>
Cc: Adrian Hunter <ext-adrian.hunter@nokia.com>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c