Commit 5e6b8a5
cred: add missing return error code when set_cred_ucounts() failed
If set_cred_ucounts() failed, we need return the error code.
Fixes: 905ae01 ("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]>1 parent f928ef6 commit 5e6b8a5
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
| 376 | + | |
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
| |||
0 commit comments