diff options
Diffstat (limited to 'libmount/src/context_loopdev.c')
-rw-r--r-- | libmount/src/context_loopdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/context_loopdev.c b/libmount/src/context_loopdev.c index 37e49b0bd..aabb2dd20 100644 --- a/libmount/src/context_loopdev.c +++ b/libmount/src/context_loopdev.c @@ -261,8 +261,8 @@ int mnt_context_setup_loopdev(struct libmnt_context *cxt) rc = loopcxt_init(&lc, 0); if (rc) goto done_no_deinit; - rc = loopcxt_check_conflict(&lc, - backing_file, offset, sizelimit); + + rc = loopcxt_find_overlap(&lc, backing_file, offset, sizelimit); if (rc < 0) goto done; if (rc == 0) { |