msg.attr = arg;
msg.id = lli->lli_id;
- CWARN("Set audit %x for "DLID4"\n", (__u32)arg, OLID4(&lli->lli_id));
+ CDEBUG(D_INFO, "Set audit 0x%x for "DLID4"\n", (__u32)arg, OLID4(&lli->lli_id));
rc = obd_set_info(exp, 5, "audit", sizeof(msg), &msg);
//if fs audit is being set for fs then pass attr to all OSS
sbi->ll_audit_mask = arg;
exp = ll_i2dtexp(inode);
rc = obd_set_info(exp, 5, "audit", sizeof(msg), &msg);
+ } else if (IS_AUDIT_OP(arg, AUDIT_SYNC) ||
+ IS_AUDIT_OP(arg, AUDIT_NULL)) {
+ exp = ll_i2dtexp(inode);
+ rc = obd_set_info(exp, 5, "audit", sizeof(msg), &msg);
} else {
lli->lli_audit_mask = arg;
}