diff -urN linux-2.6.33-orig/include/linux/loop.h linux-2.6.33/include/linux/loop.h --- linux-2.6.33-orig/include/linux/loop.h 2010-02-25 03:52:17 +0900 +++ linux-2.6.33/include/linux/loop.h 2010-04-27 23:14:49 +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