From: Miklos Szeredi Date: Wed, 12 Dec 2007 19:01:23 +0000 (+0000) Subject: fix X-Git-Tag: fuse_2_7_2~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4ae237a8d8077e524483c296d31584034807f118;p=qemu-gpiodev%2Flibfuse.git fix --- diff --git a/kernel/inode.c b/kernel/inode.c index 0e5e213..0a5900e 100644 --- a/kernel/inode.c +++ b/kernel/inode.c @@ -636,6 +636,8 @@ static struct dentry *fuse_get_dentry_old(struct super_block *sb, void *objp) return fuse_get_dentry(sb, objp); } +static struct export_operations fuse_export_operations; + static struct dentry *fuse_decode_fh(struct super_block *sb, u32 *fh, int fh_len, int fileid_type, int (*acceptable)(void *context, struct dentry *de), @@ -663,7 +665,7 @@ static struct dentry *fuse_decode_fh(struct super_block *sb, u32 *fh, handle.nodeid |= (u64) fh[1]; handle.generation = fh[2]; - return ret = fuse_export_operations. + return fuse_export_operations. find_exported_dentry(sb, &handle, &parent, acceptable, context); }