This error code is intended for situations where overlapping loop device exists and cannot be reused. Signed-off-by: Stanislav Brabec <sbrabec@xxxxxxx> --- libmount/src/libmount.h.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index cadf4a7..83f05ef 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -159,7 +159,7 @@ enum { * * loopdev setup failed, errno set by libc */ -#define MNT_ERR_LOOPDEV 5003 +#define MNT_ERR_LOOPDEV 5003 /** * MNT_ERR_MOUNTOPT: * @@ -178,6 +178,12 @@ enum { * libblkid detected more filesystems on the device */ #define MNT_ERR_AMBIFS 5006 +/** + * MNT_ERR_LOOPOVERLAP: + * + * detected overlapping loop device that cannot be re-used + */ +#define MNT_ERR_LOOPOVERLAP 5007 #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ -- 2.9.0 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html