diff options
Diffstat (limited to 'fs/jbd2')
-rw-r--r-- | fs/jbd2/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index c03d4dce4d76..bc2ff5932769 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
@@ -1889,7 +1889,7 @@ static struct kmem_cache *get_slab(size_t size) | |||
1889 | BUG_ON(i >= JBD2_MAX_SLABS); | 1889 | BUG_ON(i >= JBD2_MAX_SLABS); |
1890 | if (unlikely(i < 0)) | 1890 | if (unlikely(i < 0)) |
1891 | i = 0; | 1891 | i = 0; |
1892 | BUG_ON(jbd2_slab[i] == 0); | 1892 | BUG_ON(jbd2_slab[i] == NULL); |
1893 | return jbd2_slab[i]; | 1893 | return jbd2_slab[i]; |
1894 | } | 1894 | } |
1895 | 1895 | ||