Skip to content
Commit 9b627e9b authored by Jiri Slaby's avatar Jiri Slaby Committed by Chris Mason
Browse files

Btrfs: fix use after free in btrfs_start_workers fail path



worker memory is already freed on one fail path in btrfs_start_workers,
but is still dereferenced. Switch the dereference and kfree.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 94272164
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment