summaryrefslogtreecommitdiffstats
path: root/libmount/src/context_loopdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/context_loopdev.c')
-rw-r--r--libmount/src/context_loopdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context_loopdev.c b/libmount/src/context_loopdev.c
index 97435619e..836ebc1d3 100644
--- a/libmount/src/context_loopdev.c
+++ b/libmount/src/context_loopdev.c
@@ -93,7 +93,7 @@ is_mounted_same_loopfile(struct libmnt_context *cxt,
assert(cxt->fs);
assert((cxt->flags & MNT_FL_MOUNTFLAGS_MERGED));
- if (!target || !backing_file || mnt_context_get_mtab(cxt, &tb))
+ if (mnt_context_get_mtab(cxt, &tb))
return 0;
DBG(LOOP, ul_debugobj(cxt, "checking if %s mounted on %s",