diff options
author | Benny Halevy <bhalevy@panasas.com> | 2008-06-30 19:59:14 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-07-14 13:56:59 -0500 |
commit | 18c60c0a3b16fc7d6a55497a228602ad8509f838 (patch) | |
tree | f963e66eddd4d527790a3d691cbb45e492cd6b0b /fs/dlm/midcomms.c | |
parent | 311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4 (diff) | |
download | op-kernel-dev-18c60c0a3b16fc7d6a55497a228602ad8509f838.zip op-kernel-dev-18c60c0a3b16fc7d6a55497a228602ad8509f838.tar.gz |
dlm: fix uninitialized variable for search_rsb_list callers
gcc 4.3.0 correctly emits the following warning.
search_rsb_list does not *r_ret if no dlm_rsb is found
and _search_rsb may pass the uninitialized value upstream
on the error path when both calls to search_rsb_list
return non-zero error.
The fix sets *r_ret to NULL on search_rsb_list's not-found path.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/midcomms.c')
0 files changed, 0 insertions, 0 deletions