aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c
index 41173f81ac47..7030d76155fc 100644
--- a/fs/afs/super.c
+++ b/fs/afs/super.c
@@ -453,8 +453,7 @@ static void afs_i_init_once(void *_vnode, struct kmem_cache *cachep,
453{ 453{
454 struct afs_vnode *vnode = _vnode; 454 struct afs_vnode *vnode = _vnode;
455 455
456 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == 456 if (flags & SLAB_CTOR_CONSTRUCTOR) {
457 SLAB_CTOR_CONSTRUCTOR) {
458 memset(vnode, 0, sizeof(*vnode)); 457 memset(vnode, 0, sizeof(*vnode));
459 inode_init_once(&vnode->vfs_inode); 458 inode_init_once(&vnode->vfs_inode);
460 init_waitqueue_head(&vnode->update_waitq); 459 init_waitqueue_head(&vnode->update_waitq);