]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/audit_tree.c
Merge remote-tracking branch 'audit/next'
[karo-tx-linux.git] / kernel / audit_tree.c
index 94ecdabda8e6b31f8f2ba25fc66b992e320d9fcb..5efe9b299a12876242648d41acc1950291b7a166 100644 (file)
@@ -197,13 +197,13 @@ struct audit_chunk *audit_tree_lookup(const struct inode *inode)
        return NULL;
 }
 
-int audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree)
+bool audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree)
 {
        int n;
        for (n = 0; n < chunk->count; n++)
                if (chunk->owners[n].owner == tree)
-                       return 1;
-       return 0;
+                       return true;
+       return false;
 }
 
 /* tagging and untagging inodes with trees */