]> err.no Git - linux-2.6/blobdiff - fs/jbd/revoke.c
jbd/jbd2 NULL noise
[linux-2.6] / fs / jbd / revoke.c
index ad2eacf570c6e5b0d0404978d49ad6eebed3fba1..d5f8eee7c88cfd0287a51cf934ad5270da5ce6c1 100644 (file)
@@ -173,13 +173,13 @@ int __init journal_init_revoke_caches(void)
                                           0,
                                           SLAB_HWCACHE_ALIGN|SLAB_TEMPORARY,
                                           NULL);
-       if (revoke_record_cache == 0)
+       if (!revoke_record_cache)
                return -ENOMEM;
 
        revoke_table_cache = kmem_cache_create("revoke_table",
                                           sizeof(struct jbd_revoke_table_s),
                                           0, SLAB_TEMPORARY, NULL);
-       if (revoke_table_cache == 0) {
+       if (!revoke_table_cache) {
                kmem_cache_destroy(revoke_record_cache);
                revoke_record_cache = NULL;
                return -ENOMEM;