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

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Sat, 04 May 2002 10:18:13 +1000


This is a multi-part message in MIME format.
--------------462F16E97E6D87740EF2DCF8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/>
--------------462F16E97E6D87740EF2DCF8
Content-Type: text/plain; charset=us-ascii;
 name="2.4.19-pre8-aa1-zftape-init.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="2.4.19-pre8-aa1-zftape-init.patch"

*** 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 */

--------------462F16E97E6D87740EF2DCF8--

- 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/