X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fvutil.h;h=153076da4a5d3f8a9469148671615dd1b12ac5e7;hb=ea797cbc07c82f0a89f13b09b4c4b8f1a50c6e6b;hp=c567267e1ba9d0d9341bfad5325e71608b55f862;hpb=6bf3f95de36c804c97716b2d0bdf10680c559044;p=util-vserver.git diff --git a/src/vutil.h b/src/vutil.h index c567267..153076d 100644 --- a/src/vutil.h +++ b/src/vutil.h @@ -36,9 +36,17 @@ extern int debug; extern bool testmode; // Patch to help compile this utility on unpatched kernel source -#ifndef EXT2_IMMUTABLE_FILE_FL - #define EXT2_IMMUTABLE_FILE_FL 0x00000010 - #define EXT2_IMMUTABLE_LINK_FL 0x00008000 +#ifndef EXT2_IMMUTABLE_FL +#define EXT2_IMMUTABLE_FL 0x00000010 +#endif + +#ifndef EXT2_IUNLINK_FL +/* Set both bits for backward compatibility */ +#define EXT2_IUNLINK_FL 0x08008000 +#endif + +#ifndef EXT2_BARRIER_FL +#define EXT2_BARRIER_FL 0x04000000 #endif