summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorQi Zheng <zhengqi.arch@bytedance.com>2023-02-08 07:00:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-11 18:39:26 +0300
commit4f4c970a05a24f4e3ecbfda534ec95caf498d2a0 (patch)
treeaa64295fa05c1bf9759a5c5d874f550ddb41eab3 /net
parent4a9272a864cbf6dacc3f4b35213108dd01691d31 (diff)
downloadlinux-4f4c970a05a24f4e3ecbfda534ec95caf498d2a0.tar.xz
OPP: fix error checking in opp_migrate_dentry()
[ Upstream commit eca4c0eea53432ec4b711b2a8ad282cbad231b4f ] Since commit ff9fb72bc077 ("debugfs: return error values, not NULL") changed return value of debugfs_rename() in error cases from %NULL to %ERR_PTR(-ERROR), we should also check error values instead of NULL. Fixes: ff9fb72bc077 ("debugfs: return error values, not NULL") Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions