On Wednesday 09 May 2007 04:57:53 Ricardo Correia wrote: > 2) In the end of zfs_zget(), if the requested object number is not found, > it allocates a new znode with that object number. This shouldn't happen in > any FUSE operation.
Apparently, I didn't (and I still don't) fully understand this part of the code, but I still need it after all. So I propose only a very simple change - an added boolean parameter that allows zfs_zget() to return unlinked objects. See the attached patch (and sorry for the mismatched paths WRT the OpenSolaris tree). Regards, Ricardo Correia -------------- next part -------------- A non-text attachment was scrubbed... Name: zget.patch Type: text/x-diff Size: 9112 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-code/attachments/20070509/ee9855cc/attachment.bin>