]>
Commit | Line | Data |
---|---|---|
2badb605 JB |
1 | my_dev_t is used only in struct loop_info definition (see <linux/loop.h>). |
2 | It has to be _old_ kernel dev_t type (i.e. used before 2.6.x). | |
3 | For 2.6.x headers use __kernel_old_dev_t (for x86: 16-bit, while | |
4 | __kernel_dev_t is 32-bit and recent glibc dev_t is 64-bit) | |
5 | ||
654c4698 JK |
6 | --- util-linux-2.12.orig/mount/my_dev_t.h 2003-07-16 22:05:50.000000000 +0200 |
7 | +++ util-linux-2.12/mount/my_dev_t.h 2004-12-19 14:31:34.467427960 +0100 | |
2badb605 | 8 | @@ -4,4 +4,4 @@ |
654c4698 JK |
9 | /* for ancient systems use "unsigned short" */ |
10 | ||
654c4698 | 11 | #include <linux/posix_types.h> |
2badb605 JB |
12 | -#define my_dev_t __kernel_dev_t |
13 | +#define my_dev_t __kernel_old_dev_t |