aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-mq.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-11-05 17:00:13 -0500
committerMike Snitzer <snitzer@redhat.com>2014-11-12 20:15:04 -0500
commit17181fb7a0c3a279196c0eeb2caba65a1519614b (patch)
treee8f9d8b7b2134f55e75fca41b9d4fa0165e2f088 /drivers/md/dm-cache-policy-mq.c
parentd1d9220cbaeecce910f3ecfeb71cc897a678eb68 (diff)
dm thin: fix a race in thin_dtr
As long as struct thin_c is in the list, anyone can grab a reference of it. Consequently, we must wait for the reference count to drop to zero *after* we remove the structure from the list, not before. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-mq.c')
0 files changed, 0 insertions, 0 deletions