Benny Halevy 18c60c0a3b 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>
2008-07-14 13:56:59 -05:00
..
2008-02-06 00:35:45 -06:00
2006-01-18 09:30:29 +00:00
2006-01-18 09:30:29 +00:00
2008-04-21 11:18:01 -05:00
2006-07-13 09:25:34 -04:00
2008-07-14 13:56:59 -05:00
2006-12-07 09:25:13 -05:00
2008-04-21 11:22:28 -05:00
2008-04-21 11:22:28 -05:00
2008-01-30 11:04:42 -06:00
2008-05-19 15:37:27 -05:00
2008-05-19 15:37:27 -05:00
2008-02-21 15:19:54 -06:00
2008-07-14 13:56:59 -05:00
2006-07-13 09:25:34 -04:00
2008-02-04 01:23:43 -06:00
2006-01-18 09:30:29 +00:00