Skip to content
Commit e82afc52 authored by Zhao Lei's avatar Zhao Lei Committed by Chris Mason
Browse files

btrfs: add error handling for scrub_workers_get()



Although it is a rare case, we'd better free previous allocated
memory on error.

Signed-off-by: default avatarZhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: default avatarQu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 65f53338
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