diff options
| author | Swapnil Pimpale <spimpale@ddn.com> | 2016-04-12 16:14:09 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-26 15:13:13 -0700 |
| commit | cc3b77589617b32c4fe610d9d6302a159f1fde13 (patch) | |
| tree | be3c6c74ceb2eb7a5290ccc2014c7445802d83f6 /tools/perf/scripts/python | |
| parent | 489d82fcd8f39ad43a65d72abe9bf835a5af3f63 (diff) | |
| download | kernel-cc3b77589617b32c4fe610d9d6302a159f1fde13.tar.gz | |
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 <spimpale@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3808
Reviewed-on: http://review.whamcloud.com/7522
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
