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:
bb59082
)
b=8654
author
tappro
<tappro>
Tue, 13 Sep 2005 07:34:04 +0000
(07:34 +0000)
committer
tappro
<tappro>
Tue, 13 Sep 2005 07:34:04 +0000
(07:34 +0000)
store setattr mask in nid for debug purposes
lustre/smfs/audit_mds.c
patch
|
blob
|
history
diff --git
a/lustre/smfs/audit_mds.c
b/lustre/smfs/audit_mds.c
index
3406e00
..
19682f8
100644
(file)
--- a/
lustre/smfs/audit_mds.c
+++ b/
lustre/smfs/audit_mds.c
@@
-173,11
+173,12
@@
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;