commit | ad64902b70282cc0d3453237b39a1d1388906509 | [log] [tgz] |
---|---|---|
author | Aditya Kali <adityakali@google.com> | Fri Jul 13 15:25:07 2012 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 15 21:12:04 2012 -0400 |
tree | d06deb7c4f8b0e3f7bb98a192bcae619d40c339a | |
parent | 5027751530980c61e313d265b1367fee90589cf4 [diff] |
libquota: fix quota_inode_truncate() We failed to clear EXT2_FLAG_SUPER_ONLY after deleting the quota inode and so, the updated block bitmap was not written back. This caused fsck to complain after running 'tune2fs -O ^quota <dev>'. Clear this flag so that updated block bitmap gets written. Also, avoid truncating the quota inode if it is not hidden. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>