mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
linux-newvcache-make-sure-we-dont-try-to-iterate-null-pointer-20020615
based on report from wilder@us.ibm.com not clear this is sufficient
This commit is contained in:
parent
d13f701812
commit
307543629d
@ -491,7 +491,7 @@ restart:
|
|||||||
repeat:
|
repeat:
|
||||||
next = this_parent->d_subdirs.next;
|
next = this_parent->d_subdirs.next;
|
||||||
resume:
|
resume:
|
||||||
while (next != &this_parent->d_subdirs) {
|
while (next && next != &this_parent->d_subdirs) {
|
||||||
struct list_head *tmp = next;
|
struct list_head *tmp = next;
|
||||||
struct dentry *dchld = list_entry(tmp, struct dentry, d_child);
|
struct dentry *dchld = list_entry(tmp, struct dentry, d_child);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user