<img class="cloudmagic-smart-beacon" 
src="https://tr.cloudmagic.com/h/v6/emailtag/tag/1479299876/82445d85fc131ec4d306d7d2089b8471/3c33d92f8490bf1f56f1d729f8057603/a9c1c8b96cff433666ca8745ca06d343/9efab2399c7c560b34de477b9aa0a465/ufo.gif" 
style="border:0; width:0; height:0; overflow:hidden;" width="0" 
height="0"><div dir="auto">Hi all,<div>&nbsp; &nbsp; I'm reading the code 
of 3.6.9 version and got a question.And I'm not very familiar with the 
code,so I have to confirm it(I checked the master branch,it's same with 
3.6.9).</div><div><br></div><div>&nbsp; &nbsp; The question is about the 
'lookup' operation of NFS.And i'm with this code 
flow:</div><div><br></div><div>&nbsp; &nbsp;&nbsp;nfs3_lookup (nfs3.c) 
==&gt;&nbsp;nfs3_fh_resolve_and_resume ==&gt;&nbsp;nfs3_fh_resolve_root 
==&gt;&nbsp;nfs3_fh_resolve_resume ==&gt;&nbsp;nfs3_fh_resolve_entry 
==&gt;&nbsp;nfs3_fh_resolve_entry_hard.</div><div><br></div><div>Now enter 
the "nfs_entry_loc_fill" and return with -1 which means the "parent" not 
found,so we have to do hard resolve about the parent. After doing a hard 
resolve,we get into the callback "nfs3_fh_resolve_inode_lookup_cbk".And the 
callback has the following code:</div><div><br></div><div><div>&gt;&gt;&gt; 
memcpy (&amp;cs-&gt;stbuf, buf, sizeof(*buf));</div><div>&gt;&gt;&gt; 
memcpy (&amp;cs-&gt;postparent, buf, 
sizeof(*postparent))</div></div><div><br></div><div>I think we've just done 
a parent resolve,how could we assign the parent result into the "stbuf" and 
"postparent".The later two should be the information of the child 
file/directory.Do i made a misunderstand?</div><div><br></div><div>Thanks 
advance for your help.</div></div>