VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Lameter <clameter@sgi.com> 2007-05-16 22:10:57 -0700 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-05-17 05:23:04 -0700 commit: a35afb830f8d71ec211531aeb9a621b09a2efb39 parent: 5577bd8a85c8b7643a241789b14fafa9c8a6c7db
Commit Summary:
Remove SLAB_CTOR_CONSTRUCTOR
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 4f1888f16cf0..92cf8751e428 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -434,8 +434,7 @@ static void hfs_init_once(void *p, struct kmem_cache *cachep, unsigned long flag
 {
 	struct hfs_inode_info *i = p;
 
-	if (flags & SLAB_CTOR_CONSTRUCTOR)
-		inode_init_once(&i->vfs_inode);
+	inode_init_once(&i->vfs_inode);
 }
 
 static int __init init_hfs_fs(void)