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
(parent:
42b3617
)
b=9300
author
tappro
<tappro>
Tue, 13 Sep 2005 00:15:32 +0000
(
00:15
+0000)
committer
tappro
<tappro>
Tue, 13 Sep 2005 00:15:32 +0000
(
00:15
+0000)
wrong LASSERT in previous commit.
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
0e9befc
..
6b64c86
100644
(file)
--- a/
lustre/mds/mds_audit_path.c
+++ b/
lustre/mds/mds_audit_path.c
@@
-581,13
+581,14
@@
next:
out:
list_for_each_safe (pos, n, &list) {
item = list_entry(pos, struct name_item, link);
+
if (!rc) {
strcat(*name, "/");
strcat(*name, item->name);
}
list_del_init(&item->link);
OBD_FREE(item, sizeof(*item));
- LASSERT(strlen(*name) < *namelen);
+ LASSERT(strlen(*name) <
=
*namelen);
}
RETURN(rc);
}