Unverified Commit d39b653c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents bc6f27d8 013285a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2647,7 +2647,7 @@ int path_pts(struct path *path)
	dput(path->dentry);
	path->dentry = parent;
	child = d_hash_and_lookup(parent, &this);
	if (!child)
	if (IS_ERR_OR_NULL(child))
		return -ENOENT;

	path->dentry = child;