commit | e82afc52abff07a4acbc90f899598ebafb662831 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Fri Jun 12 20:36:58 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Jun 30 13:20:03 2015 -0700 |
tree | 9449e1be751e0575d92df80ecadfe84bc3a9d574 | |
parent | 65f5333875d7bbfc13436e224a181d10a80d1ada [diff] |
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: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>