ext4: add EXT4_JOURNAL_DATA_FL and EXT4_EXTENTS_FL to modifiable mask
authorJan Kara <jack@suse.cz>
Tue, 29 Nov 2016 16:13:13 +0000 (11:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Nov 2016 16:13:13 +0000 (11:13 -0500)
commitf8011d93a2d125b812e8b90bedb5be2a00149ac4
tree29ccc3ad8c06bc770754c2118208e3d72ff7a66e
parent9060dd2c5036b12132f9b97e3486ca6422d5bdfc
ext4: add EXT4_JOURNAL_DATA_FL and EXT4_EXTENTS_FL to modifiable mask

Add EXT4_JOURNAL_DATA_FL and EXT4_EXTENTS_FL to EXT4_FL_USER_MODIFIABLE
to recognize that they are modifiable by userspace. So far we got away
without having them there because ext4_ioctl_setflags() treats them in a
special way. But it was really confusing like that.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ioctl.c