summaryrefslogtreecommitdiff
path: root/tests/fs-tests/simple/orph.c
diff options
context:
space:
mode:
authorMika Westerberg <ext-mika.1.westerberg@nokia.com>2010-02-01 10:03:47 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-04-08 11:50:40 +0300
commit5960d463ff659b0af6774be8aef833032036e9c8 (patch)
treec0468a511e3088e984540ef0d910bc33a780b9b8 /tests/fs-tests/simple/orph.c
parent13b77ef356e876f42f489f6a08840e12847135c5 (diff)
libubi: add support to attach/detach by MTD device path
struct ubi_attach_request now has additional field 'dev' that can contain path to the MTD device node in the filesystem. Also there are two new functions that are able to handle path to the MTD device node: ubi_attach() - attach MTD device by number or by path ubi_detach() - detach MTD device by path ubi_attach() works like ubi_attach_mtd() when it is passed empty req->dev, otherwise it looks up correct MTD device number based on the given device node path. Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/simple/orph.c')
0 files changed, 0 insertions, 0 deletions