diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-29 03:07:18 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-30 14:18:41 -0700 |
commit | 1076d17ac70d1bb28fadc6f4bd96977b56897025 (patch) | |
tree | 17327e19c0bf6280d5c50996f96d14f38b55841a /fs/jbd/revoke.c | |
parent | af8be4e4b316df36a00c1e52a9970c253783b57e (diff) | |
download | kernel_goldelico_gta04-1076d17ac70d1bb28fadc6f4bd96977b56897025.zip kernel_goldelico_gta04-1076d17ac70d1bb28fadc6f4bd96977b56897025.tar.gz kernel_goldelico_gta04-1076d17ac70d1bb28fadc6f4bd96977b56897025.tar.bz2 |
jbd/jbd2 NULL noise
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jbd/revoke.c')
-rw-r--r-- | fs/jbd/revoke.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd/revoke.c b/fs/jbd/revoke.c index ad2eacf..d5f8eee 100644 --- a/fs/jbd/revoke.c +++ b/fs/jbd/revoke.c @@ -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; |