diff -urN ../linux-2.6.19-orig/include/linux/loop.h include/linux/loop.h --- ../linux-2.6.19-orig/include/linux/loop.h 2006-11-30 06:57:37 +0900 +++ include/linux/loop.h 2007-11-19 14:14:25 +0900 @@ -10,6 +10,8 @@ * permitted under the GNU General Public License. */ +#include + #define LO_NAME_SIZE 64 #define LO_KEY_SIZE 32 @@ -150,12 +152,12 @@ * IOCTL commands --- we will commandeer 0x4C ('L') */ -#define LOOP_SET_FD 0x4C00 -#define LOOP_CLR_FD 0x4C01 -#define LOOP_SET_STATUS 0x4C02 -#define LOOP_GET_STATUS 0x4C03 -#define LOOP_SET_STATUS64 0x4C04 -#define LOOP_GET_STATUS64 0x4C05 -#define LOOP_CHANGE_FD 0x4C06 +#define LOOP_SET_FD _IO('L',0) +#define LOOP_CLR_FD _IO('L',1) +#define LOOP_SET_STATUS _IO('L',2) +#define LOOP_GET_STATUS _IO('L',3) +#define LOOP_SET_STATUS64 _IO('L',4) +#define LOOP_GET_STATUS64 _IO('L',5) +#define LOOP_CHANGE_FD _IO('L',6) #endif