Re: [PATCH 11/20] mm: Remove unnecessary vma->vm_ops check

2016-10-18 Thread Jan Kara
On Mon 17-10-16 13:40:41, Ross Zwisler wrote: > On Tue, Sep 27, 2016 at 06:08:15PM +0200, Jan Kara wrote: > > We don't check whether vma->vm_ops is NULL in do_shared_fault() so > > there's hardly any point in checking it in wp_page_shared() which gets > > called only for shared file mappings as

[PATCH 11/20] mm: Remove unnecessary vma->vm_ops check

2016-09-27 Thread Jan Kara
We don't check whether vma->vm_ops is NULL in do_shared_fault() so there's hardly any point in checking it in wp_page_shared() which gets called only for shared file mappings as well. Signed-off-by: Jan Kara --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)