From: adilger Date: Wed, 21 Aug 2002 22:25:14 +0000 (+0000) Subject: Add target data for symlinks to intent. X-Git-Tag: 0.5.5~94 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=dea163303280eeb25b65785ba7798a48128585d5;p=fs%2Flustre-release.git Add target data for symlinks to intent. --- diff --git a/lustre/patches/patch-2.4.18 b/lustre/patches/patch-2.4.18 index efeddfb..f30ecd6 100644 --- a/lustre/patches/patch-2.4.18 +++ b/lustre/patches/patch-2.4.18 @@ -966,11 +966,12 @@ from = getname(oldname); if(IS_ERR(from)) -@@ -1557,10 +1661,12 @@ +@@ -1557,10 +1661,13 @@ error = path_walk(to, &nd); if (error) goto out; - dentry = lookup_create(&nd, 0); ++ it.it_data = from; + dentry = lookup_create(&nd, 0, &it); error = PTR_ERR(dentry); if (!IS_ERR(dentry)) { diff --git a/lustre/patches/patch-2.4.18-chaos12 b/lustre/patches/patch-2.4.18-chaos12 index 46f227e..57a6d09 100644 --- a/lustre/patches/patch-2.4.18-chaos12 +++ b/lustre/patches/patch-2.4.18-chaos12 @@ -992,11 +992,12 @@ from = getname(oldname); if(IS_ERR(from)) -@@ -1586,10 +1701,12 @@ +@@ -1586,10 +1701,13 @@ error = path_lookup(to, LOOKUP_PARENT, &nd); if (error) goto out; - dentry = lookup_create(&nd, 0); ++ it.it_data = from; + dentry = lookup_create(&nd, 0, &it); error = PTR_ERR(dentry); if (!IS_ERR(dentry)) {