Blame SOURCES/xfsprogs-RHEL7-remove-chattr-x.patch

3d5736
Index: xfsprogs-4.5.0/io/attr.c
3d5736
===================================================================
3d5736
--- xfsprogs-4.5.0.orig/io/attr.c
3d5736
+++ xfsprogs-4.5.0/io/attr.c
3d5736
@@ -47,10 +47,9 @@ static struct xflags {
3d5736
 	{ FS_XFLAG_EXTSZINHERIT,	"E", "extsz-inherit"	},
3d5736
 	{ FS_XFLAG_NODEFRAG,		"f", "no-defrag"	},
3d5736
 	{ FS_XFLAG_FILESTREAM,		"S", "filestream"	},
3d5736
-	{ FS_XFLAG_DAX,			"x", "dax"		},
3d5736
 	{ 0, NULL, NULL }
3d5736
 };
3d5736
-#define CHATTR_XFLAG_LIST	"r"/*p*/"iasAdtPneEfSx"
3d5736
+#define CHATTR_XFLAG_LIST	"r"/*p*/"iasAdtPneEfS"
3d5736
 
3d5736
 static void
3d5736
 lsattr_help(void)
3d5736
@@ -74,7 +73,6 @@ lsattr_help(void)
3d5736
 " E -- children created in this directory inherit the extent size value\n"
3d5736
 " f -- do not include this file when defragmenting the filesystem\n"
3d5736
 " S -- enable filestreams allocator for this directory\n"
3d5736
-" x -- Use direct access (DAX) for data in this file\n"
3d5736
 "\n"
3d5736
 " Options:\n"
3d5736
 " -R -- recursively descend (useful when current file is a directory)\n"
3d5736
@@ -110,7 +108,6 @@ chattr_help(void)
3d5736
 " +/-E -- set/clear the extent-size inheritance flag\n"
3d5736
 " +/-f -- set/clear the no-defrag flag\n"
3d5736
 " +/-S -- set/clear the filestreams allocator flag\n"
3d5736
-" +/-x -- set/clear the direct access (DAX) flag\n"
3d5736
 " Note1: user must have certain capabilities to modify immutable/append-only.\n"
3d5736
 " Note2: immutable/append-only files cannot be deleted; removing these files\n"
3d5736
 "        requires the immutable/append-only flag to be cleared first.\n"