diff options
author | Karel Zak | 2012-05-28 12:26:36 +0200 |
---|---|---|
committer | Karel Zak | 2012-05-28 12:26:36 +0200 |
commit | 82756a747e4bcfc13a27b7618d889af080649584 (patch) | |
tree | 6bfb5688d38e1d571ae6b1a960a0520bf4e1af73 /libmount/src/context_loopdev.c | |
parent | mount: (old) fix encryption= usage (diff) | |
download | kernel-qcow2-util-linux-82756a747e4bcfc13a27b7618d889af080649584.tar.gz kernel-qcow2-util-linux-82756a747e4bcfc13a27b7618d889af080649584.tar.xz kernel-qcow2-util-linux-82756a747e4bcfc13a27b7618d889af080649584.zip |
libmount: add MNT_ERR_LOOPDEV
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/context_loopdev.c')
-rw-r--r-- | libmount/src/context_loopdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/context_loopdev.c b/libmount/src/context_loopdev.c index 023c9529b..0dcf5803e 100644 --- a/libmount/src/context_loopdev.c +++ b/libmount/src/context_loopdev.c @@ -261,6 +261,7 @@ int mnt_context_setup_loopdev(struct libmnt_context *cxt) if (loopdev || rc != -EBUSY) { DBG(CXT, mnt_debug_h(cxt, "failed to setup device")); + rc = -MNT_ERR_LOOPDEV; goto done; } DBG(CXT, mnt_debug_h(cxt, "loopdev stolen...trying again")); |