dax: Remove dead zeroing code from fault handlers
authorJan Kara <jack@suse.cz>
Wed, 11 May 2016 09:58:50 +0000 (11:58 +0200)
committerVishal Verma <vishal.l.verma@intel.com>
Tue, 17 May 2016 06:44:08 +0000 (00:44 -0600)
commit2b10945c532c165a824f541df76a15ed0be04d78
tree2bbe9d771e8a2c2f53a23b80045bd6a6cb3d3ccf
parent86b0624e42d03a424e9571b8591d191c436f9af1
dax: Remove dead zeroing code from fault handlers

Now that all filesystems zero out blocks allocated for a fault handler,
we can just remove the zeroing from the handler itself. Also add checks
that no filesystem returns to us unwritten or new buffer.

Reviewed-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>
fs/dax.c