Fix kobject_add refcount imbalance on block layer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block :blk-sysfs :fix kobj refcount imbalance on the err return pathblock/ | +1 | 1 reply | |
| 2/2 | block :blk-mq-sysfs :fix kobj refcount imbalance on err return pathblock/ | +3 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Chaitanya Kulkarni |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Fix kobject_add refcount imbalance on block layer
kobject_add increments the parent kobj refcount, but forget to release it after err return, it will lead to a memory leak.
Lin Yi (2):
block :blk-sysfs :fix kobj refcount imbalance on the err return path block :blk-mq-sysfs :fix kobj refcount imbalance on err return path
block/blk-mq-sysfs.c | 4 +++- block/blk-sysfs.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1