]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 20 Dec 2013 23:15:14 +0000 (18:15 -0500)
commit2cd639035204806ac2d10062824d5d3e6a410fa1
treecac65f1d590e10da3aa92ab4f1b052b37b8c8a3e
parent92e933091b90f24faebf7f923498df2a2932acca
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