Package: lufs-source Version: 0.9.7-5
I had to apply this one line patch to get LUFS to compile. The kernel interface has changed sometime between 2.6.8 and 2.6.10 this patch simply reflects that change. I enclosed the change in an #if statement to hopefully make it backward compatible. But I've not tested it on anything less than 2.6.10.
I am running Ubuntu Hoary, kernel 2.6.10-2-686.
diff --unified --recursive --new-file lufs-orig/kernel/Linux/2.6/inode.c lufs/kernel/Linux/2.6/inode.c --- lufs-orig/kernel/Linux/2.6/inode.c 2005-01-18 18:16:44.276431648 +0000 +++ lufs/kernel/Linux/2.6/inode.c 2005-01-18 18:41:08.938769128 +0000 @@ -411,7 +411,11 @@ info.si_uid = current->uid;
/* notify the daemon that we're going bye-bye */ +#if (KERNEL_VERSION_CODE >= KERNEL_VERSION(2,6,9)) + kill_proc(GET_INFO(sb)->server_pid, SIGUSR1, (int)&info); +#else kill_proc_info(SIGUSR1, &info, GET_INFO(sb)->server_pid); +#endif
lu_empty_slots(GET_INFO(sb)); kfree(GET_INFO(sb));
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]