Blame SOURCES/e2fsprogs-1.42.9-chattr-manpage-j-update.patch

0ef434
commit c7c3775443ecd01ade5500e09191c5c4e94c2b56
0ef434
Author: Zheng Liu <wenqing.lz@taobao.com>
0ef434
Date:   Wed Feb 12 12:28:29 2014 -0500
0ef434
0ef434
    chattr: improve the description for 'j' option in manpage
0ef434
    
0ef434
    Ext4 file system also supports to set/clear 'j' attribute, but it just
0ef434
    say that this option is only useful for ext3 in manpage.  This commit
0ef434
    fixes it.
0ef434
    
0ef434
    Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
0ef434
    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
0ef434
    Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
0ef434
0ef434
diff --git a/misc/chattr.1.in b/misc/chattr.1.in
0ef434
index 932ef4b..2a3640c 100644
0ef434
--- a/misc/chattr.1.in
0ef434
+++ b/misc/chattr.1.in
0ef434
@@ -112,8 +112,8 @@ to the file.  Only the superuser or a process possessing the
0ef434
 CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
0ef434
 .PP
0ef434
 A file with the `j' attribute has all of its data written to the ext3
0ef434
-journal before being written to the file itself, if the filesystem is
0ef434
-mounted with the "data=ordered" or "data=writeback" options.  When the
0ef434
+or ext4 journal before being written to the file itself, if the filesystem
0ef434
+is mounted with the "data=ordered" or "data=writeback" options.  When the
0ef434
 filesystem is mounted with the "data=journal" option all file data
0ef434
 is already journalled and this attribute has no effect.  Only
0ef434
 the superuser or a process possessing the CAP_SYS_RESOURCE
0ef434
@@ -171,7 +171,7 @@ The `c', 's',  and `u' attributes are not honored
0ef434
 by the ext2, ext3, and ext4 filesystems as implemented in the current
0ef434
 mainline Linux kernels.
0ef434
 .PP
0ef434
-The `j' option is only useful if the filesystem is mounted as ext3.
0ef434
+The `j' option is only useful if the filesystem is mounted as ext3 or ext4.
0ef434
 .PP
0ef434
 The `D' option is only useful on Linux kernel 2.5.19 and later.
0ef434
 .SH AVAILABILITY