VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Nick Piggin <npiggin@kernel.dk> 2011-01-07 17:49:55 +1100 committer: Nick Piggin <npiggin@kernel.dk> 2011-01-07 17:50:28 +1100 commit: fb045adb99d9b7c562dc7fef834857f78249daa1 parent: 5f57cbcc02cf18f6b22ef4066bb10afeb8f930ff
Commit Summary:
fs: dcache reduce branches in lookup path
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index ef4ee5716abe..0bef62aa4f42 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -434,7 +434,7 @@ static int hfs_fill_super(struct super_block *sb, void *data, int silent)
 	if (!sb->s_root)
 		goto bail_iput;
 
-	sb->s_root->d_op = &hfs_dentry_operations;
+	d_set_d_op(sb->s_root, &hfs_dentry_operations);
 
 	/* everything's okay */
 	return 0;