Re: [patch 6/9] fuse: add export operations

From: Christoph Hellwig
Date: Thu May 15 2008 - 10:13:32 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/