Fork of reMarkable kernel https://github.com/reMarkable/linux
Go to file
Li Zefan 3bf1041867 Btrfs: async-thread: fix possible memory leak
When kthread_run() returns failure, this worker hasn't been
added to the list, so btrfs_stop_workers() won't free it.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2008-09-25 11:04:05 -04:00
fs/btrfs Btrfs: async-thread: fix possible memory leak 2008-09-25 11:04:05 -04:00