commit | 97bd89cd398108b05e33b676809b50348bf6abb2 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Mar 14 09:23:21 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Mar 14 09:23:23 2014 -0400 |
tree | a6348a8dca1d54c725adbebf366a747858845c04 | |
parent | cb803fc2caa45fe40f326dcf51f525a56e8af01b [diff] |
libext2fs: fix iblocks correctly when expanding an inline_data file i_blocks covers the number of blocks allocated to an inode for data, extents, and ACL blocks. Since it's possible for a file to have a separate ACL block and inline data, we must be careful when expanding an inline data file to adjust, not set, the value of i_blocks. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>