Messages in this thread | | | Date | Thu, 15 May 2008 10:13:11 -0400 | From | Christoph Hellwig <> | Subject | Re: [patch 6/9] fuse: add export operations |
| |
On Thu, May 15, 2008 at 03:07:01PM +0200, Miklos Szeredi wrote: > in i_ino. This is not entirely trivial to fix: we either supply the > inode numbers to the encoding function explicitly, or use something > like the get_inode callback in generic_fh_to_dentry/_parent. At which > point I begin to doubt if it's worth the effort to share this code. > After all the encoding/decoding functions are not complicated at all.
Doh, in that case using the generic encoce helper doesn't make any sense. decode doesn't care about i_ino, so it should be useable. I'd say go ahead with your fuse-local implementation for now, but please use the 0x8n fh_type values.
| |