<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Andew!<br>
<br>
Hard linking works again, when paths are relative with at least one
subdirectory. This is how the problem was reproducable: <br>
<br>
# mkdir a<br>
# mkdir b<br>
# touch a/test<br>
# ln a/test b/test<br>
<font face="Arial">ln: failed to create hard link `b/test' =>
`a/test': No such file or directory<br>
<br>
However when creating links in the same dir, it worked well.<br>
<br>
Now the link gets created.<br>
<br>
Thanks for the quick fix Xue!<br>
<br>
Yours,<br>
Aron<br>
</font>
<br>
<div class="moz-cite-prefix">12/19/2014 11:15 PM keltezéssel, Andrew
Morton írta:<br>
</div>
<blockquote
cite="mid:20141219141513.d68d5737c625c1b188004c89@linux-foundation.org"
type="cite">
<pre wrap="">On Fri, 19 Dec 2014 18:07:45 +0800 Xue jiufei <a class="moz-txt-link-rfc2396E" href="mailto:xuejiufei@huawei.com"><xuejiufei@huawei.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">In function ocfs2_link(), parent directory inode passed to function
ocfs2_lookup_ino_from_name() is wrong. Parameter dir is the parent
of new_dentry not old_dentry. We should get old_dir from old_dentry
and lookup old_dentry in old_dir in case another node remove the old dentry.
</pre>
</blockquote>
<pre wrap="">
What are the user-visible effects of this change?
</pre>
</blockquote>
<br>
</body>
</html>