dm thin: factor out check_low_water_mark and use bools
authorJoe Thornber <ejt@redhat.com>
Thu, 5 Dec 2013 01:16:12 +0000 (20:16 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 Jan 2014 15:14:26 +0000 (10:14 -0500)
commit88a6621bed65ce2d421a808a2f60e1b64914d777
tree764c3b6f7c3a7938c043fe4a12dad27fb0b29dce
parentdaec338bbdaa96ba5b14c4777603e65ef74c769b
dm thin: factor out check_low_water_mark and use bools

Factor check_low_water_mark() out of alloc_data_block().
Change a couple unsigned flags in the pool structure to bool.

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