Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

How to compile lufs.o for kernel 2.6.10+

2006-12-17
2013-06-04
  • Corey Gilmore
    Corey Gilmore
    2006-12-17

    Beginning with kernel 2.6.10 'kill_proc_info' is no longer exported and you'll get this error:

    *** Warning: "kill_proc_info" [/usr/local/src/lufs-0.9.7-mp/kernel/Linux/2.6/lufs.ko] undefined

        /* kill_proc_info(SIGUSR1, &info, GET_INFO(sb)->server_pid); */
        kill_proc(GET_INFO(sb)->server_pid, SIGUSR1, &info);

    The solution is to make the following change to ./kernel/Linux/2.6/inode.c

    Comment out the following line (around line 415):
    /* kill_proc_info(SIGUSR1, &info, GET_INFO(sb)->server_pid); */
    Add this one:
    kill_proc(GET_INFO(sb)->server_pid, SIGUSR1, &info);