summaryrefslogtreecommitdiff
path: root/misc/mke2fs.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-01-27 19:38:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-01-27 19:38:46 -0500
commit0d1de232a81354a89fdcd1df77531dec07685e2f (patch)
tree37f3652d501586c2929a923e1c22b2ddedd8ae1c /misc/mke2fs.c
parentb1631cce648ee87e39b602899d77ad59a81acc66 (diff)
downloade2fsprogs-0d1de232a81354a89fdcd1df77531dec07685e2f.tar.gz
Create filesystems with the ext_attr feature by default
Since recent kernels have a tendency to set this feature willy-nilly, let's just enable by default. It's only very old kernels that don't support it any more. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/mke2fs.c')
-rw-r--r--misc/mke2fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index e754d6b4..ede6722e 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -873,7 +873,8 @@ static __u32 ok_features[3] = {
EXT3_FEATURE_COMPAT_HAS_JOURNAL |
EXT2_FEATURE_COMPAT_RESIZE_INODE |
EXT2_FEATURE_COMPAT_DIR_INDEX |
- EXT2_FEATURE_COMPAT_LAZY_BG, /* Compat */
+ EXT2_FEATURE_COMPAT_LAZY_BG |
+ EXT2_FEATURE_COMPAT_EXT_ATTR, /* Compat */
EXT2_FEATURE_INCOMPAT_FILETYPE| /* Incompat */
EXT3_FEATURE_INCOMPAT_JOURNAL_DEV|
EXT2_FEATURE_INCOMPAT_META_BG,