summaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorDaeho Jeong <daeho.jeong@samsung.com>2016-02-21 18:31:41 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-02-21 18:31:41 -0500
commitf96c450dabf5497794af8c45f589d44b4549d1fc (patch)
treeaeeeb84bc86dbf70fc392539c0f955fae2c6a486 /lib/assoc_array.c
parent74dae4278546b897eb81784fdfcce872ddd8b2b8 (diff)
downloadlinux-stable-f96c450dabf5497794af8c45f589d44b4549d1fc.tar.gz
linux-stable-f96c450dabf5497794af8c45f589d44b4549d1fc.tar.bz2
linux-stable-f96c450dabf5497794af8c45f589d44b4549d1fc.zip
ext4: make sure to revoke all the freeable blocks in ext4_free_blocks
Now, ext4_free_blocks() doesn't revoke data blocks of per-file data journalled inode and it can cause file data inconsistency problems. Even though data blocks of per-file data journalled inode are already forgotten by jbd2_journal_invalidatepage() in advance of invoking ext4_free_blocks(), we still need to revoke the data blocks here. Moreover some of the metadata blocks, which are not found by sb_find_get_block(), are still needed to be revoked, but this is also missing here. Signed-off-by: Daeho Jeong <daeho.jeong@samsung.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions