From: Stanislav Brabec Date: Thu, 14 Jul 2016 13:28:45 +0000 (+0200) Subject: libmount: Introduce new error: MNT_ERR_LOOPOVERLAP X-Git-Tag: v2.29-rc1~134^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6b7035e7bd5dd82bf4fc95494df3552e80a8f1;p=thirdparty%2Futil-linux.git libmount: Introduce new error: MNT_ERR_LOOPOVERLAP This error code is intended for situations where overlapping loop device exists and cannot be reused. Signed-off-by: Stanislav Brabec --- diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index cadf4a72db..83f05efd25 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__