ext2: Set flags on quota files directly
authorJan Kara <jack@suse.cz>
Thu, 6 Apr 2017 15:02:09 +0000 (17:02 +0200)
committerJan Kara <jack@suse.cz>
Wed, 19 Apr 2017 12:21:23 +0000 (14:21 +0200)
commit161f3b74479b1e486fc784111491023a5bc57bf7
tree1c35dd6e5fc58f9d4feb0b4338e2ac56da685ca9
parent33eb928a9e21fb32221db4290d579753ecf2b80e
ext2: Set flags on quota files directly

Currently immutable and noatime flags on quota files are set by quota
code which requires us to copy inode->i_flags to our on disk version of
quota flags in GETFLAGS ioctl and __ext2_write_inode().  Move to setting
/ clearing these on-disk flags directly to save that copying.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c