summaryrefslogtreecommitdiff
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-11-18 12:11:07 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2019-12-10 13:26:56 +0300
commitba0033192145cbd4e70ef64552958b13d597eb9e (patch)
treeb250718e6bff03d27ad6f85e0bbb8359dc70f2ac /fs/btrfs/Makefile
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-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/btrfs/Makefile')
0 files changed, 0 insertions, 0 deletions