aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorLars Ellenberg <[email protected]>2017-05-11 08:21:46 +0000
committerJens Axboe <[email protected]>2017-05-11 16:04:30 +0000
commita00ebd1cf12c378a1d4f7a1d6daf1d76c1eaad82 (patch)
tree98edd7dd6a0d901d705fe94374c983eda5524798 /scripts/gcc-plugins/gcc-common.h
parentblock: handle partial completions for special payload requests (diff)
downloadkernel-a00ebd1cf12c378a1d4f7a1d6daf1d76c1eaad82.tar.gz
kernel-a00ebd1cf12c378a1d4f7a1d6daf1d76c1eaad82.zip
drbd: fix request leak introduced by locking/atomic, kref: Kill kref_sub()
When killing kref_sub(), the unconditional additional kref_get() was not properly paired with the necessary kref_put(), causing a leak of struct drbd_requests (~ 224 Bytes) per submitted bio, and breaking DRBD in general, as the destructor of those "drbd_requests" does more than just the mempoll_free(). Fixes: bdfafc4ffdd2 ("locking/atomic, kref: Kill kref_sub()") Signed-off-by: Lars Ellenberg <[email protected]> Cc: [email protected] # v4.11 Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions