Displaying 3 results from an estimated 3 matches for "667f7dc0".
2019 Oct 31
3
[PATCH 1/2] loop: fix loop_info struct
...;michael.hudson at ubuntu.com>
Signed-off-by: Adam Conrad <adconrad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
usr/utils/loop.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
index 9abc2874..667f7dc0 100644
--- a/usr/utils/loop.h
+++ b/usr/utils/loop.h
@@ -15,9 +15,9 @@
struct loop_info {
int lo_number;
- dev_t lo_device;
+ __kernel_old_dev_t lo_device;
unsigned long lo_inode;
- dev_t lo_rdevice;
+ __kernel_old_dev_t lo_rdevice;
int lo_offset;
int lo_encrypt_type;
int lo_en...
2019 Oct 31
0
[PATCH 2/2] loop: switch to linux/loop.h
...lt;xnox at ubuntu.com>
---
usr/utils/loop.h | 49 ---------------------------------------------
usr/utils/losetup.c | 3 +--
2 files changed, 1 insertion(+), 51 deletions(-)
delete mode 100644 usr/utils/loop.h
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
deleted file mode 100644
index 667f7dc0..00000000
--- a/usr/utils/loop.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#define LO_CRYPT_NONE 0
-#define LO_CRYPT_XOR 1
-#define LO_CRYPT_DES 2
-#define LO_CRYPT_CRYPTOAPI 18
-
-#define LOOP_SET_FD 0x4C00
-#define LOOP_CLR_FD 0x4C01
-#define LOOP_SET_STATUS 0x4C02
-#define LOOP_GET_STATUS 0x4C03
-#def...
2019 Nov 01
0
[PATCH 1/2 v2] loop: fix loop_info struct
...rad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
Updated patch description, based on feedback on the mailing list.
usr/utils/loop.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/utils/loop.h b/usr/utils/loop.h
index 9abc2874..667f7dc0 100644
--- a/usr/utils/loop.h
+++ b/usr/utils/loop.h
@@ -15,9 +15,9 @@
struct loop_info {
int lo_number;
- dev_t lo_device;
+ __kernel_old_dev_t lo_device;
unsigned long lo_inode;
- dev_t lo_rdevice;
+ __kernel_old_dev_t lo_rdevice;
int lo_offset;
int lo_encrypt_type;
int lo_en...