summaryrefslogtreecommitdiff
path: root/include/linux/mtd/ubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-24 17:15:14 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-25 17:41:25 +0300
commit866136827b9a71c39dcb06d23ce523f719eab74b (patch)
tree4ec353d1c0b4ad8bc43ea9f692268c654ba79f63 /include/linux/mtd/ubi.h
parent60c031531a85b3580f66c2530f9b2802adcad4df (diff)
downloadlinux-866136827b9a71c39dcb06d23ce523f719eab74b.tar.xz
UBI: introduce atomic LEB change ioctl
We have to be able to change individual LEBs for utilities like ubifsck, ubifstune. For example, ubifsck has to be able to fix errors on the media, ubifstune has to be able to change the the superblock, hence this ioctl. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/linux/mtd/ubi.h')
-rw-r--r--include/linux/mtd/ubi.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index c4abe0351225..f71201d0f3e7 100644
--- a/include/linux/mtd/ubi.h
+++ b/include/linux/mtd/ubi.h
@@ -26,23 +26,6 @@
#include <mtd/ubi-user.h>
/*
- * UBI data type hint constants.
- *
- * UBI_LONGTERM: long-term data
- * UBI_SHORTTERM: short-term data
- * UBI_UNKNOWN: data persistence is unknown
- *
- * These constants are used when data is written to UBI volumes in order to
- * help the UBI wear-leveling unit to find more appropriate physical
- * eraseblocks.
- */
-enum {
- UBI_LONGTERM = 1,
- UBI_SHORTTERM,
- UBI_UNKNOWN
-};
-
-/*
* enum ubi_open_mode - UBI volume open mode constants.
*
* UBI_READONLY: read-only mode