| commit | 5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae | [log] [tgz] |
|---|---|---|
| author | Yang Yingliang <[email protected]> | Wed May 26 22:38:05 2021 +0800 |
| committer | Eric W. Biederman <[email protected]> | Fri May 28 13:12:52 2021 -0500 |
| tree | 118191578248a778d2f23ab17f7d3a6fe686cfd9 | |
| parent | f928ef685db5d9b82c1c1e24e229c167426c5a1f [diff] |
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]>