Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=8654
[fs/lustre-release.git]
/
lustre
/
mds
/
mds_audit.c
diff --git
a/lustre/mds/mds_audit.c
b/lustre/mds/mds_audit.c
index
29388c1
..
08c54b4
100644
(file)
--- a/
lustre/mds/mds_audit.c
+++ b/
lustre/mds/mds_audit.c
@@
-67,9
+67,12
@@
int mds_audit(struct ptlrpc_request *req, struct dentry *dentry,
.namelen = 0,
};
int rc = 0;
.namelen = 0,
};
int rc = 0;
-
ENTRY;
ENTRY;
+ /* don't catch request to cross-ref */
+ if (dentry->d_flags & DCACHE_CROSS_REF)
+ RETURN(0);
+
info.m.nid = nid;
info.m.uid = current->uid;
info.m.gid = current->gid;
info.m.nid = nid;
info.m.uid = current->uid;
info.m.gid = current->gid;