summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-29 16:47:54 +0200
committerJonathan Bauer2020-05-29 16:47:54 +0200
commit4c8a6edbb554928b1d4cd1d4e8b54b750b095641 (patch)
tree209b8ac01838658665ea58a53009160491d0960a /include
parentlib/losetup: merge remote-tracking branch 'util-linux/master' (diff)
downloadkernel-qcow2-util-linux-xloop-hack.tar.gz
kernel-qcow2-util-linux-xloop-hack.tar.xz
kernel-qcow2-util-linux-xloop-hack.zip
initial support for xloopxloop-hack
Diffstat (limited to 'include')
-rw-r--r--include/loopdev.h2
-rw-r--r--include/pathnames.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/loopdev.h b/include/loopdev.h
index f8559afd6..7fe7cf62c 100644
--- a/include/loopdev.h
+++ b/include/loopdev.h
@@ -76,7 +76,7 @@ struct loop_info64 {
uint32_t lo_file_fmt_type;
} __attribute__((packed));
-#define LOOPDEV_MAJOR 7 /* loop major number */
+#define LOOPDEV_MAJOR 120 /* loop major number */
#define LOOPDEV_DEFAULT_NNODES 8 /* default number of loop devices */
struct loopdev_iter {
diff --git a/include/pathnames.h b/include/pathnames.h
index 2e1f19355..412701505 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -138,8 +138,8 @@
#define _PATH_DEV_MEM "/dev/mem"
-#define _PATH_DEV_LOOP "/dev/loop"
-#define _PATH_DEV_LOOPCTL "/dev/loop-control"
+#define _PATH_DEV_LOOP "/dev/xloop"
+#define _PATH_DEV_LOOPCTL "/dev/xloop-control"
/* udev paths */
#define _PATH_DEV_BYLABEL "/dev/disk/by-label"