login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
8
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
WANG Cong <xiyou.wangcong@...>
To: Yan Zheng <yanzheng@...>
Cc: <linux-fsdevel@...>, <linux-kernel@...>, <akpm@...>
Subject:
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
Date: Monday, October 8, 2007 - 7:52 am
On Mon, Oct 08, 2007 at 07:45:08PM +0800, Yan Zheng wrote:
quoted text
>Hi all > >The test for VM_CAN_NONLINEAR always fails > >Signed-off-by: Yan Zheng<yanzheng@21cn.com> >---- >diff -ur linux-2.6.23-rc9/mm/fremap.c linux/mm/fremap.c >--- linux-2.6.23-rc9/mm/fremap.c 2007-10-07 15:03:33.000000000 +0800 >+++ linux/mm/fremap.c 2007-10-08 19:33:44.000000000 +0800 >@@ -160,7 +160,7 @@ > 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))
Good catch! ! operator has higher priority than & operator. Acked by me. ;-)
quoted text
> goto out; > > if (end <= start || start < vma->vm_start || end > vma->vm_end)
-
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Yan Zheng
, (Mon Oct 8, 7:45 am)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Hugh Dickins
, (Mon Oct 8, 9:37 am)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Nick Piggin
, (Mon Oct 8, 2:47 am)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Yan Zheng
, (Mon Oct 8, 6:50 pm)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Andrew Morton
, (Mon Oct 8, 1:04 pm)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Nick Piggin
, (Mon Oct 8, 3:02 am)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Randy Dunlap
, (Mon Oct 8, 1:28 pm)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Andrew Morton
, (Mon Oct 8, 1:51 pm)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Yan Zheng
, (Mon Oct 8, 9:43 pm)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, Nick Piggin
, (Mon Oct 8, 3:45 am)
Re: [PATCH]fix VM_CAN_NONLINEAR check in sys_remap_file_pages
, WANG Cong
, (Mon Oct 8, 7:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
842 guests
online.
Online users
bambooflo
Syndicate