Re: 2.4.19pre8aa1 & vm-34: zftape-init.c compile error

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Fri May 03 2002 - 19:18:13 EST


Andrea Arcangeli wrote:
>
> Full patchkit:
> http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre8aa1.gz

linux-2.4-pre-aa/drivers/char/ftape/zftape/zftape-init.c fails to build,
a declaration is put in an illegal place.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

*** linux-2.4-pre-aa/drivers/char/ftape/zftape/zftape-init.c.orig Sat May 4 10:13:57 2002 --- linux-2.4-pre-aa/drivers/char/ftape/zftape/zftape-init.c Sat May 4 10:14:28 2002 *************** *** 204,214 **** sigfillset(&current->blocked); lock_kernel(); if ((result = ftape_mmap(vma)) >= 0) { - vma->vm_flags &= ~VM_IO; #ifndef MSYNC_BUG_WAS_FIXED static struct vm_operations_struct dummy = { NULL, }; vma->vm_ops = &dummy; #endif } unlock_kernel(); current->blocked = old_sigmask; /* restore mask */ --- 204,214 ---- sigfillset(&current->blocked); lock_kernel(); if ((result = ftape_mmap(vma)) >= 0) { #ifndef MSYNC_BUG_WAS_FIXED static struct vm_operations_struct dummy = { NULL, }; vma->vm_ops = &dummy; #endif + vma->vm_flags &= ~VM_IO; } unlock_kernel(); current->blocked = old_sigmask; /* restore mask */

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:21 EST