From 6b424c2dd3576e0938762365411f75042e41b6b8 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 24 Jan 2008 13:17:24 +0200 Subject: ubinize: add autoresize flag support Signed-off-by: Artem Bityutskiy --- ubi-utils/include/libubigen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubi-utils/include') diff --git a/ubi-utils/include/libubigen.h b/ubi-utils/include/libubigen.h index 66f5fb1..f5c7616 100644 --- a/ubi-utils/include/libubigen.h +++ b/ubi-utils/include/libubigen.h @@ -25,6 +25,7 @@ #ifndef __LIBUBIGEN_H__ #define __LIBUBIGEN_H__ +#include #include #include @@ -73,6 +74,7 @@ struct ubigen_info * for static volumes only) * @bytes: size of the volume contents in bytes (relevant for static volumes * only) + * @flags: volume flags (%UBI_VTBL_AUTORESIZE_FLG) */ struct ubigen_vol_info { @@ -86,6 +88,7 @@ struct ubigen_vol_info int compat; int used_ebs; long long bytes; + uint8_t flags; }; void ubigen_info_init(struct ubigen_info *ui, int peb_size, int min_io_size, -- cgit v1.2.3