git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dlm: fix uninitialized variable for search_rsb_list callers
[pandora-kernel.git]
/
fs
/
dlm
/
lock.c
diff --git
a/fs/dlm/lock.c
b/fs/dlm/lock.c
index
7ba9586
..
724ddac
100644
(file)
--- a/
fs/dlm/lock.c
+++ b/
fs/dlm/lock.c
@@
-363,6
+363,7
@@
static int search_rsb_list(struct list_head *head, char *name, int len,
if (len == r->res_length && !memcmp(name, r->res_name, len))
goto found;
}
+ *r_ret = NULL;
return -EBADR;
found: