aboutsummaryrefslogtreecommitdiff
path: root/lib/test_static_key_base.c
diff options
context:
space:
mode:
authorShaohua Li2015-09-02 13:49:47 -0700
committerNeilBrown2015-11-01 13:48:26 +1100
commit0fd22b45b2d2e1de162d6a47327d449e0ed45ad2 (patch)
tree19405695d4fee2c0d07ede5af8d95e54952c459b /lib/test_static_key_base.c
parenta8c34f915976e3de044cc31b8bcb46f816f5a52e (diff)
raid5-cache: fix a user-after-free bug
r5l_compress_stripe_end_list() can free an io_unit. This breaks the assumption only reclaimer can free io_unit. We can add a reference count based io_unit free, but since only reclaim can wait io_unit becoming to STRIPE_END state, we use a simple global wait queue here. Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions