under updated fedora 8 system, fuse build error because of:

===== fuse-2.7.1/kernel/inode.c =====
...
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),
                        void *context)
{
        struct fuse_inode_handle handle;
        struct fuse_inode_handle parent;

        if (fh_len < 3 || fileid_type > 2)
                return NULL;

        if (fileid_type == 2) {
                if (fh_len < 6)
                        return NULL;

                parent.nodeid = (u64) fh[3] << 32;
                parent.nodeid |= (u64) fh[4];
                parent.generation = fh[5];
        } else {
                parent.nodeid = 0;
                parent.generation = 0;
        }

        handle.nodeid = (u64) fh[0] << 32;
        handle.nodeid |= (u64) fh[1];
        handle.generation = fh[2];

        return ret = fuse_export_operations.
               ^^^
                find_exported_dentry(sb, &handle, &parent, acceptable, context);
}
==========

  compile fails as "ret" is obviously undefined.  fuse-2.7.3 has no
such issue.  of course, the patches for fuse will have to be updated.
but is it fairly obvious that fuse should be upgraded away from 2.7.1?

rday
--



========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to