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

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