VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2019-10-31 01:21:58 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2019-11-15 13:49:04 -0500 commit: 6c2d4798a8d16cf4f3a28c3cd4af4f1dcbbb4d04 parent: d41efb522e902364ab09c782d511c1bedc388ddd
Commit Summary:
new helper: lookup_positive_unlocked()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/kernfs/mount.c b/fs/kernfs/mount.c
index 6c12fac2c287..d62cec6d838d 100644
--- a/fs/kernfs/mount.c
+++ b/fs/kernfs/mount.c
@@ -200,7 +200,7 @@ struct dentry *kernfs_node_dentry(struct kernfs_node *kn,
 			dput(dentry);
 			return ERR_PTR(-EINVAL);
 		}
-		dtmp = lookup_one_len_unlocked(kntmp->name, dentry,
+		dtmp = lookup_positive_unlocked(kntmp->name, dentry,
 					       strlen(kntmp->name));
 		dput(dentry);
 		if (IS_ERR(dtmp))