diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2019-11-18 12:11:07 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-12-10 13:26:56 +0300 |
commit | ba0033192145cbd4e70ef64552958b13d597eb9e (patch) | |
tree | b250718e6bff03d27ad6f85e0bbb8359dc70f2ac /fs | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-ba0033192145cbd4e70ef64552958b13d597eb9e.tar.xz |
opp: Free static OPPs on errors while adding them
The static OPPs aren't getting freed properly, if errors occur while
adding them. Fix that by calling _put_opp_list_kref() and putting their
reference on failures.
Fixes: 11e1a1648298 ("opp: Don't decrement uninitialized list_kref")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions