Re: + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree

From: Ray Lee
Date: Mon Oct 08 2007 - 19:09:23 EST


On 10/8/07, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> On Mon, Oct 08, 2007 at 10:05:40AM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > --- a/mm/fremap.c~fix-vm_can_nonlinear-check-in-sys_remap_file_pages
> > +++ a/mm/fremap.c
> > @@ -160,7 +160,7 @@ asmlinkage long sys_remap_file_pages(uns
> > if (vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR))
> > goto out;
> >
> > - if (!vma->vm_flags & VM_CAN_NONLINEAR)
> > + if (!(vma->vm_flags & VM_CAN_NONLINEAR))
>
> Ick.

Perhaps a good candidate for checkpatch.pl? (Andy cc:d.)

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