diff options
| author | Swapnil Pimpale <[email protected]> | 2016-04-12 16:14:09 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-26 15:13:13 -0700 |
| commit | cc3b77589617b32c4fe610d9d6302a159f1fde13 (patch) | |
| tree | be3c6c74ceb2eb7a5290ccc2014c7445802d83f6 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 489d82fcd8f39ad43a65d72abe9bf835a5af3f63 (diff) | |
staging: lustre: ptlrpc: return a meaningful status from ptlrpcd_init()
This patch has the following:
1) Fix for the return value from ptlrpcd_init(). It will now return a
correct status instead of returning zero always.
2) ptlrpcd_addref() should not increment ptlrpcd_users on error.
3) Added code in a mdc_setup() and mgc_setup() to test the return
value of ptlrpcd_addref() and return on error.
Signed-off-by: Swapnil Pimpale <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3808
Reviewed-on: http://review.whamcloud.com/7522
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions