diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-10 18:38:33 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 13:32:56 +0300 |
commit | a5bf6190417cbbf80443a9f71c65b653e13e9982 (patch) | |
tree | 341b656517b02efe8ee49446d4591625da69171a /include | |
parent | 73789a3d9fd8e500e121c1d4a5a2b16dd748ab5f (diff) | |
download | op-kernel-dev-a5bf6190417cbbf80443a9f71c65b653e13e9982.zip op-kernel-dev-a5bf6190417cbbf80443a9f71c65b653e13e9982.tar.gz |
UBI: add ubi_sync() interface
To flush MTD device caches.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/ubi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index f71201d..83302bb 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h @@ -152,6 +152,7 @@ int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); int ubi_leb_map(struct ubi_volume_desc *desc, int lnum, int dtype); int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); +int ubi_sync(int ubi_num); /* * This function is the same as the 'ubi_leb_read()' function, but it does not |