From 312e784fb06eaafff4cfebe29c74b8d0ecc09167 Mon Sep 17 00:00:00 2001 From: Richard Genoud Date: Wed, 22 Aug 2012 11:27:56 +0200 Subject: UBI: sync ubi-user.h with kernel v3.6-rc1 Also remove the eraseblock type support, because kernel commit a65a0eb6d198e058687a9214683bd1c418f20d39 set the dtype parameter as obsolete. Also adjust to some renames: * 'UBI_PROP_DIRECT_WRITE' -> 'UBI_VOL_PROP_DIRECT_WRITE' * 'struct ubi_set_prop_req' -> 'struct ubi_set_vol_prop_req'. * 'UBI_IOCSETPROP' -> 'UBI_IOCSETVOLPROP' Signed-off-by: Richard Genoud Signed-off-by: Artem Bityutskiy --- tests/ubi-tests/io_paral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ubi-tests/io_paral.c b/tests/ubi-tests/io_paral.c index 1d9a97c..615c1dd 100644 --- a/tests/ubi-tests/io_paral.c +++ b/tests/ubi-tests/io_paral.c @@ -179,7 +179,7 @@ static void *write_thread(void *ptr) return NULL; } - ret = ubi_set_property(fd, UBI_PROP_DIRECT_WRITE, 1); + ret = ubi_set_property(fd, UBI_VOL_PROP_DIRECT_WRITE, 1); if (ret) { failed("ubi_set_property"); errmsg("cannot set property for \"%s\"\n", vol_node); -- cgit v1.2.3