diff options
author | Jan Kara <jack@suse.cz> | 2016-05-16 17:17:04 +0200 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2016-05-17 00:41:24 -0600 |
commit | 9b6cd5f76d60b563d75e55e432e03ed134761432 (patch) | |
tree | 27415537e52ba2cfad0561fb16dca945efcfab36 /fs/cachefiles | |
parent | 02fbd139759feb1f331cebd858523b5d774082e6 (diff) |
ext2: Fix block zeroing in ext2_get_blocks() for DAX
When zeroing allocated blocks for DAX, we accidentally zeroed only the
first allocated block instead of all of them. So far this problem is
hidden by the fact that page faults always need only a single block and
DAX write code zeroes blocks again. But the zeroing in DAX code is racy
and needs to be removed so fix the zeroing in ext2 to zero all allocated
blocks.
Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions