Whamcloud - gitweb
Add target data for symlinks to intent.
authoradilger <adilger>
Wed, 21 Aug 2002 22:25:14 +0000 (22:25 +0000)
committeradilger <adilger>
Wed, 21 Aug 2002 22:25:14 +0000 (22:25 +0000)
lustre/patches/patch-2.4.18
lustre/patches/patch-2.4.18-chaos12

index efeddfb..f30ecd6 100644 (file)
  
        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)) {
index 46f227e..57a6d09 100644 (file)
  
        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)) {