aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-05-26 14:38:05 +0000
committerEric W. Biederman <[email protected]>2021-05-28 18:12:52 +0000
commit5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae (patch)
tree118191578248a778d2f23ab17f7d3a6fe686cfd9 /fs/proc/array.c
parentucounts: Silence warning in dec_rlimit_ucounts (diff)
downloadkernel-5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae.tar.gz
kernel-5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae.zip
cred: add missing return error code when set_cred_ucounts() failed
If set_cred_ucounts() failed, we need return the error code. Fixes: 905ae01c4ae2 ("Add a reference to ucounts for each cred") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Alexey Gladkov <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions