aboutsummaryrefslogtreecommitdiff
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2008-10-10 13:37:07 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-10 13:37:07 +0100
commit4e59409891c9cc30cb4d5d73250b0c968af8e39b (patch)
treec21382942df3b7dd363bca91fe5cd8fef3c64f0b /ipc/msgutil.c
parent6c031f41db15b6cb0cd33545cec28ca706cd3c7e (diff)
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>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions