[PATCH] Pass dentry, not just name, in fsnotify creation hooks.
[powerpc.git] / kernel / auditsc.c
index 95076fa..55ba331 100644 (file)
@@ -515,7 +515,7 @@ static int audit_filter_rules(struct task_struct *tsk,
                case AUDIT_INODE:
                        if (ctx) {
                                for (j = 0; j < ctx->name_count; j++) {
-                                       if (audit_comparator(ctx->names[j].ino, op, value)) {
+                                       if ( audit_comparator(ctx->names[j].ino, op, value)) {
                                                ++result;
                                                break;
                                        }