UBIFS: support mounting of UBI volume character devices
authorCorentin Chary <corentincj@iksaif.net>
Mon, 28 Sep 2009 19:10:12 +0000 (21:10 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 30 Sep 2009 07:54:05 +0000 (10:54 +0300)
commit2f9a7a871f84cdfb4c83022bad9c2c00abbf32a5
treec1ab521750a8b3f03de4bb2cc268cac6bfbba280
parent76c65b183b6a9dc0537d1f3135fcb9d6277c5a81
UBIFS: support mounting of UBI volume character devices

This patch makes it possible to mount UBI character device
nodes, and use something like:

$ mount -t ubifs /dev/ubi_volume_name /mnt/ubifs

instead of the old restrictive 'nodev' semantics:

$ mount -t ubifs ubi0_0 /mnt/ubifs

[Comments and the patch were amended a bit by Artem]

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c