• Christopher Ferris's avatar
    Use the correct fuse_init_out structure size. · 1d30c2fe
    Christopher Ferris authored
    Kernel 2.6.16 is the first stable kernel with struct fuse_init_out
    defined (fuse version 7.6). The structure is the same from 7.6 through
    7.22. Beginning with 7.23, the structure increased in size and added
    new parameters.
    
    If the kernel only works on minor revs older than or equal to 22,
    then use the older structure size since this code only uses the 7.22
    version of the structure.
    
    Change-Id: I00d7530e01e6b4718dcd04ad2484959d12ef4a65
    1d30c2fe
fuse_sideload.c 16.9 KB