Messages in this thread |  | | | Date | Sat, 04 May 2002 10:18:13 +1000 | | From | Eyal Lebedinsky <> | | Subject | Re: 2.4.19pre8aa1 & vm-34: zftape-init.c compile error |
| |
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(¤t->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(¤t->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 */ |  |