dm thin: cleanup schedule_zero() to read more logically
authorMike Snitzer <snitzer@redhat.com>
Thu, 14 May 2015 15:28:37 +0000 (11:28 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 29 May 2015 18:18:58 +0000 (14:18 -0400)
commitf8ae75253e4174089ffe3046715c679183f1919f
tree695b60f3852383e28d162bdc33b78637e2cac39b
parent8b908f8e94540296de95682640281a95ee5d320c
dm thin: cleanup schedule_zero() to read more logically

The overwrite has only ever about optimizing away the need to zero a
block if the entire block was being overwritten.  As such it is only
relevant when zeroing is enabled.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Joe Thornber <ejt@redhat.com>
drivers/md/dm-thin.c