This commit was manufactured by cvs2svn to create tag
[util-vserver.git] / src / vunify.cc
index 2b0cac9..8065f5e 100644 (file)
@@ -43,7 +43,7 @@ using namespace std;
 
 static bool undo = false;
 
-static int  ext2flags = EXT2_IMMUTABLE_FILE_FL | EXT2_IMMUTABLE_LINK_FL;
+static int  ext2flags = EXT2_IMMUTABLE_FL | EXT2_IUNLINK_FL;
 struct EXCLDIR{
        string prefix;
        int len;
@@ -338,9 +338,9 @@ int main (int argc, char *argv[])
                }else if (strcmp(arg,"--noflags")==0){
                        ext2flags = 0;
                }else if (strcmp(arg,"--immutable")==0){
-                       ext2flags |= EXT2_IMMUTABLE_FILE_FL;
+                       ext2flags |= EXT2_IMMUTABLE_FL;
                }else if (strcmp(arg,"--immutable-mayunlink")==0){
-                       ext2flags |= EXT2_IMMUTABLE_LINK_FL;
+                       ext2flags |= EXT2_IUNLINK_FL;
                }else if (strcmp(arg,"--excldir")==0){
                        i++;
                        //excldirs[excldirs.size()] = EXCLDIR(argv[i]);