Milan Broz 4e59409891 dm crypt: fix async inc_pending
The pending reference count must be incremented *before* the async work is
queued to another thread, not after.  Otherwise there's a race if the
work completes and decrements the reference count before it gets incremented.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2008-10-10 13:37:07 +01:00
..
2008-10-10 13:37:07 +01:00
2008-09-30 09:57:22 +02:00
2008-10-09 15:33:57 +02:00
2008-10-03 09:18:17 -07:00
2008-10-03 21:55:55 +02:00