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:
c6f13ec
)
b=8654
author
tappro
<tappro>
Wed, 14 Sep 2005 05:45:56 +0000
(
05:45
+0000)
committer
tappro
<tappro>
Wed, 14 Sep 2005 05:45:56 +0000
(
05:45
+0000)
remove setattr trick back
lustre/smfs/audit_mds.c
patch
|
blob
|
history
diff --git
a/lustre/smfs/audit_mds.c
b/lustre/smfs/audit_mds.c
index
19682f8
..
7310c8d
100644
(file)
--- a/
lustre/smfs/audit_mds.c
+++ b/
lustre/smfs/audit_mds.c
@@
-173,12
+173,11
@@
int static audit_mds_setattr_rec(struct inode * inode, void * arg,
struct audit_priv * priv, char * buffer,
__u32 *type)
{
- struct hook_attr_msg * msg = arg;
+ /*struct hook_attr_msg * msg = arg;*/
struct audit_record * rec = (void*)buffer;
char * pbuf = buffer + sizeof(*rec);
int len = sizeof(*rec);
- rec->nid = msg->attr->ia_valid;
rec->opcode = AUDIT_SETATTR;
len += audit_fill_id_rec(&pbuf, inode);
*type = SMFS_AUDIT_GEN_REC;