Matthew Ahrens wrote:
> You may be misreading this code.  If gfs_lookup_dot() is successful, the
> vnode is held and we return immediately from the code you quoted.  If there
> was an error (e.g. the name is not "." or ".."), we continue in this
> funciton, and *vpp is not a held vnode.

Ahh good, that makes much more sense. I had gfs_lookup_dot() reversed.

The main difference then comes down to that upstream's call to "mount"
would release the current *vpp, and create a new *vpp which is returned. I
can not call mount, and need to return original *vpp held.

All is sane(?) again, thanks Matt.

Lund


-- 
Jorgen Lundman       | <[email protected]>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to