mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
In bl_parse_scsi(), if the block device length is zero, the function
returns immediately without releasing the file reference obtained via
bl_open_path(), leading to a memory leak.
Fix this by jumping to the out_blkdev_put label to ensure the file
reference is properly released.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| blocklayout.c | ||
| blocklayout.h | ||
| dev.c | ||
| extent_tree.c | ||
| Makefile | ||
| rpc_pipefs.c | ||