Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
daad719
)
do LASSERT if *name is not NULL
author
tappro
<tappro>
Fri, 16 Sep 2005 16:11:27 +0000
(16:11 +0000)
committer
tappro
<tappro>
Fri, 16 Sep 2005 16:11:27 +0000
(16:11 +0000)
lustre/mds/mds_audit_path.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_audit_path.c
b/lustre/mds/mds_audit_path.c
index
59c1145
..
637aeea
100644
(file)
--- a/
lustre/mds/mds_audit_path.c
+++ b/
lustre/mds/mds_audit_path.c
@@
-600,7
+600,8
@@
out:
}
list_del_init(&item->link);
OBD_FREE(item, sizeof(*item));
- LASSERT(strlen(*name) < *namelen);
+ if (*name)
+ LASSERT(strlen(*name) < *namelen);
}
RETURN(rc);
}