Petr Mladek 8d090f4731 bcache: Really show state of work pending bit
WORK_STRUCT_PENDING is a mask for testing the pending bit.
test_bit() expects the number of the bit and we need to
use WORK_STRUCT_PENDING_BIT there.

Also work_data_bits() is defined in workqueues.h now.

I have noticed this just by chance when looking how
WORK_STRUCT_PENDING_BIT is used. The change is compile
tested.

Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2015-11-06 15:06:05 +01:00
..
2014-08-04 15:23:04 -07:00
2014-08-04 15:23:04 -07:00
2014-08-04 15:23:02 -07:00
2014-08-04 15:23:02 -07:00
2014-02-25 18:42:49 -08:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2013-11-10 21:56:32 -08:00
2015-06-30 19:45:00 -07:00
2014-03-18 12:39:28 -07:00
2014-03-18 12:22:35 -07:00
2013-12-31 09:51:02 -07:00
2015-06-30 19:45:00 -07:00