commit | cecfb4c04227dd5803c24b311d92a80e91b7b380 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Oct 17 21:49:16 2013 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Oct 23 19:39:42 2013 -0400 |
tree | 39ca7236cd5f0a5eb12896eceef0cddc1e708470 | |
parent | d36e027f9ce175f2437dcf681479935e185755a0 [diff] |
mke2fs: don't let resize= turn on resize_inode when meta_bg is set Passing the "-E resize=NNN" option to mke2fs sets the resize_inode feature. However, resize_inode and meta_bg are mutually exclusive; unfortunately, we check this constraint before we parse the extended options. Fix this by moving this check after the calls parse_extended_opts(). Reported-by: "Darrick J. Wong" <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>