diff options
author | Jan Kara <jack@suse.cz> | 2016-09-30 02:02:29 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-09-30 02:02:29 -0400 |
commit | 9b623df614576680cadeaa4d7e0b5884de8f7c17 (patch) | |
tree | 06860f5d4dac697ceb441b2ad0305610470d387a /fs/ext4/super.c | |
parent | 51e8137b82622d8ea22e993d613db568f11c1523 (diff) | |
download | lwn-9b623df614576680cadeaa4d7e0b5884de8f7c17.tar.gz lwn-9b623df614576680cadeaa4d7e0b5884de8f7c17.zip |
ext4: unmap metadata when zeroing blocks
When zeroing blocks for DAX allocations, we also have to unmap aliases
in the block device mappings. Otherwise writeback can overwrite zeros
with stale data from block device page cache.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions