Loading sdcard/fuse.cpp +3 −6 Original line number Original line Diff line number Diff line Loading @@ -1262,12 +1262,9 @@ static int handle_init(struct fuse* fuse, struct fuse_handler* handler, #if defined(FUSE_COMPAT_22_INIT_OUT_SIZE) #if defined(FUSE_COMPAT_22_INIT_OUT_SIZE) /* FUSE_KERNEL_VERSION >= 23. */ /* FUSE_KERNEL_VERSION >= 23. */ /* If the kernel only works on minor revs older than or equal to 22, /* Since we return minor version 15, the kernel does not accept the latest * then use the older structure size since this code only uses the 7.22 * fuse_init_out size. We need to use FUSE_COMPAT_22_INIT_OUT_SIZE always.*/ * version of the structure. */ if (req->minor <= 22) { fuse_struct_size = FUSE_COMPAT_22_INIT_OUT_SIZE; fuse_struct_size = FUSE_COMPAT_22_INIT_OUT_SIZE; } #endif #endif out.major = FUSE_KERNEL_VERSION; out.major = FUSE_KERNEL_VERSION; Loading Loading
sdcard/fuse.cpp +3 −6 Original line number Original line Diff line number Diff line Loading @@ -1262,12 +1262,9 @@ static int handle_init(struct fuse* fuse, struct fuse_handler* handler, #if defined(FUSE_COMPAT_22_INIT_OUT_SIZE) #if defined(FUSE_COMPAT_22_INIT_OUT_SIZE) /* FUSE_KERNEL_VERSION >= 23. */ /* FUSE_KERNEL_VERSION >= 23. */ /* If the kernel only works on minor revs older than or equal to 22, /* Since we return minor version 15, the kernel does not accept the latest * then use the older structure size since this code only uses the 7.22 * fuse_init_out size. We need to use FUSE_COMPAT_22_INIT_OUT_SIZE always.*/ * version of the structure. */ if (req->minor <= 22) { fuse_struct_size = FUSE_COMPAT_22_INIT_OUT_SIZE; fuse_struct_size = FUSE_COMPAT_22_INIT_OUT_SIZE; } #endif #endif out.major = FUSE_KERNEL_VERSION; out.major = FUSE_KERNEL_VERSION; Loading