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:
a874a3d
)
b=8654
author
tappro
<tappro>
Wed, 14 Sep 2005 09:36:44 +0000
(09:36 +0000)
committer
tappro
<tappro>
Wed, 14 Sep 2005 09:36:44 +0000
(09:36 +0000)
- lassert fixes
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
0a7a9ab
..
59c1145
100644
(file)
--- a/
lustre/mds/mds_audit_path.c
+++ b/
lustre/mds/mds_audit_path.c
@@
-551,7
+551,7
@@
mds_audit_id2name(struct obd_device *obd, char **name, int *namelen,
INIT_LIST_HEAD(&list);
cur_id = *id;
- if (!id_
fid
(&cur_id)) {
+ if (!id_
ino
(&cur_id)) {
CERROR("Invalid id!\n");
RETURN(-EINVAL);
}
@@
-563,7
+563,6
@@
next:
rc = mds_id2name(obd, &cur_id, &list, &parent_id);
if (rc == -ENOENT) {
/* can't reconstruct name from id, turn to audit log */
- LASSERT(id_fid(&parent_id));
cur_id = parent_id;
memset(&parent_id, 0, sizeof(parent_id));