[PATCH 0/11] quota: Stop setting IMMUTABLE and NOATIME flags directly
Jan Kara <[email protected]>
| Newsgroups | gmane.comp.file-systems.jfs.general |
|---|---|
| Message-ID | <20170412072611.29017-1-jack__31127.1500344903$1491982494$gmane$org@suse.cz> |
Hello, this series removes setting of IMMUTABLE and NOATIME flags from generic quota code and moves it to filesystem's quota_on / quota_off handlers. Since this was the only place where generic code was modifying inode flags that need to be persistent on disk, we can remove functions syncing inode->i_flags to on-disk flags after this. This was motivated by recent statx() work that wants consistent view of inode flags without holding i_mutex. Patches passed basic testing for ext2, ext4, reiserfs, compile-tested for jfs only. Please review, patches are mostly trivial but I could have missed something. If people are fine with the changes, I plan to merge them through my tree. Honza ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot