diff options
author | Stanislav Brabec | 2016-07-14 15:28:45 +0200 |
---|---|---|
committer | Karel Zak | 2016-08-03 11:53:28 +0200 |
commit | 7e6b7035e7bd5dd82bf4fc95494df3552e80a8f1 (patch) | |
tree | 24a48f58787100d19b2a85726835a591372af4ca /libmount/src/libmount.h.in | |
parent | libmount: Fix possible crash in mnt_context_setup_loopdev() (diff) | |
download | kernel-qcow2-util-linux-7e6b7035e7bd5dd82bf4fc95494df3552e80a8f1.tar.gz kernel-qcow2-util-linux-7e6b7035e7bd5dd82bf4fc95494df3552e80a8f1.tar.xz kernel-qcow2-util-linux-7e6b7035e7bd5dd82bf4fc95494df3552e80a8f1.zip |
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 <sbrabec@suse.cz>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index cadf4a72d..83f05efd2 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__ |