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/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 861113fcfc88..0bc81cf256b8 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -612,7 +612,7 @@ struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry,
 		goto out_put;
 
 	d_add(dentry, inode);
-	dentry->d_op = &hostfs_dentry_ops;
+	d_set_d_op(dentry, &hostfs_dentry_ops);
 	return NULL;
 
  out_put: