aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index 80291aad6de6..7db24b9e5449 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2953,8 +2953,7 @@ EXPORT_SYMBOL(free_buffer_head);
2953static void 2953static void
2954init_buffer_head(void *data, struct kmem_cache *cachep, unsigned long flags) 2954init_buffer_head(void *data, struct kmem_cache *cachep, unsigned long flags)
2955{ 2955{
2956 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == 2956 if (flags & SLAB_CTOR_CONSTRUCTOR) {
2957 SLAB_CTOR_CONSTRUCTOR) {
2958 struct buffer_head * bh = (struct buffer_head *)data; 2957 struct buffer_head * bh = (struct buffer_head *)data;
2959 2958
2960 memset(bh, 0, sizeof(*bh)); 2959 memset(bh, 0, sizeof(*bh));