Re: [v4] tune2fs: fix BUGs of tuning project quota
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-05-30 00:41:44
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-05-30 00:41:44
On Tue, Apr 25, 2017 at 09:03:07PM +0800, Wang shilong wrote:
There are several problems for project quota enable/disable: tune2fs -O ^project did not work, because @clear_ok_features did not include @EXT4_FEATURE_RO_COMPAT_PROJECT. update_feature_set() works for -O option, but tune2fs -Q prj/^prj did not work well, because function handle_quota_options() did not set and clear @EXT4_FEATURE_RO_COMPAT_PROJECT feature very well. one warning message is removed, because with project feature enabled, quota feature will be enabled automatically. Signed-off-by: Wang Shilong <redacted>
Thanks, applied. - Ted