diff -urN linux-2.6.32-orig/include/linux/loop.h linux-2.6.32/include/linux/loop.h --- linux-2.6.32-orig/include/linux/loop.h 2009-12-03 12:51:21 +0900 +++ linux-2.6.32/include/linux/loop.h 2009-12-18 00:04:01 +0900 @@ -10,6 +10,8 @@ * permitted under the GNU General Public License. */ +#include + #define LO_NAME_SIZE 64 #define LO_KEY_SIZE 32 @@ -152,13 +154,13 @@ * 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_CAPACITY 0x4C07 +#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) +#define LOOP_SET_CAPACITY _IO('L',7) #endif