diff options
author | Jan Kara <jack@suse.cz> | 2016-05-11 11:58:50 +0200 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2016-05-17 00:44:08 -0600 |
commit | 2b10945c532c165a824f541df76a15ed0be04d78 (patch) | |
tree | 2bbe9d771e8a2c2f53a23b80045bd6a6cb3d3ccf | |
parent | 86b0624e42d03a424e9571b8591d191c436f9af1 (diff) |
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>
-rw-r--r-- | fs/dax.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/fs/dax.c b/fs/dax.c |