summaryrefslogtreecommitdiffstats
path: root/include/loopdev.h
diff options
context:
space:
mode:
authorKarel Zak2016-08-04 10:49:46 +0200
committerKarel Zak2016-08-04 10:49:46 +0200
commitc444a71b1ba216b39707b41ebade2e35f6a256b7 (patch)
treea1652d4b6fac15e2e0911bac402baf85fe810db9 /include/loopdev.h
parentmount.8: Update loop device documentation (diff)
downloadkernel-qcow2-util-linux-c444a71b1ba216b39707b41ebade2e35f6a256b7.tar.gz
kernel-qcow2-util-linux-c444a71b1ba216b39707b41ebade2e35f6a256b7.tar.xz
kernel-qcow2-util-linux-c444a71b1ba216b39707b41ebade2e35f6a256b7.zip
lib/loopdev: cleanup sizelimit check
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/loopdev.h')
-rw-r--r--include/loopdev.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/loopdev.h b/include/loopdev.h
index 706388e86..ed6ef2384 100644
--- a/include/loopdev.h
+++ b/include/loopdev.h
@@ -188,9 +188,9 @@ extern int loopcxt_find_by_backing_file(struct loopdev_cxt *lc,
const char *filename,
uint64_t offset, uint64_t sizelimit,
int flags);
-extern int loopcxt_check_conflict(struct loopdev_cxt *lc,
- const char *filename,
- uint64_t offset, uint64_t sizelimit);
+extern int loopcxt_find_overlap(struct loopdev_cxt *lc,
+ const char *filename,
+ uint64_t offset, uint64_t sizelimit);
extern int loopcxt_is_used(struct loopdev_cxt *lc,
struct stat *st,