summaryrefslogtreecommitdiff
path: root/fs/internal.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-05-16 17:17:04 +0200
committerVishal Verma <vishal.l.verma@intel.com>2016-05-17 00:41:24 -0600
commit9b6cd5f76d60b563d75e55e432e03ed134761432 (patch)
tree27415537e52ba2cfad0561fb16dca945efcfab36 /fs/internal.h
parent02fbd139759feb1f331cebd858523b5d774082e6 (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/internal.h')
0 files changed, 0 insertions, 0 deletions