Re: dm thin: inverted down_trylock() test
From: Mike Snitzer <hidden>
Date: 2014-02-25 12:49:22
Also in:
dm-devel, kernel-janitors
From: Mike Snitzer <hidden>
Date: 2014-02-25 12:49:22
Also in:
dm-devel, kernel-janitors
On Tue, Feb 25 2014 at 3:35am -0500, Dan Carpenter [off-list ref] wrote:
down_trylock() is the opposite of mutex_trylock(). It returns zero on
success and one on failure.
Fixes: f4ef95631ebf ('dm thin: do not run the worker thread if pool is suspended')
Signed-off-by: Dan Carpenter <redacted>Thanks for the fix, but that commit has since been dropped.