<div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to understand the path-lookup in linux filesystem and was going through <a href="https://www.kernel.org/doc/Documentation/filesystems/path-lookup.txt">https://www.kernel.org/doc/Documentation/filesystems/path-lookup.txt</a></div><div><br></div><div>Under &#39;Rename&#39; heading, I came across the negative lookup terminology, snapshot below</div><div><br></div><div>&#39;Between deleting the dentry from the old hash list, and inserting it on the new</div><div>hash list, a lookup may find neither &#39;A&#39; nor &#39;B&#39; matching the dentry. The same</div><div>rename seqlock is also used to cover this race in much the same way, by</div><div>retrying a negative lookup result if a rename was in progress.&#39;</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,&#39;Liberation Sans&#39;,Helmet,Arial,sans-serif;font-size:13px;line-height:17px">Can anyone please help understanding the negative lookup concept and how do we achieve it. Thanks in advance.</span><br style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,&#39;Liberation Sans&#39;,Helmet,Arial,sans-serif;font-size:13px;line-height:17px"></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,&#39;Liberation Sans&#39;,Helmet,Arial,sans-serif;font-size:13px;line-height:17px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,&#39;Liberation Sans&#39;,Helmet,Arial,sans-serif;font-size:13px;line-height:17px">Regards,</span></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,&#39;Liberation Sans&#39;,Helmet,Arial,sans-serif;font-size:13px;line-height:17px"><br>~Praveen.</span></div></div>