From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Nov 2016 14:12:05 +0100 From: Jan Kara To: "Kirill A. Shutemov" Cc: Jan Kara , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org, Andrew Morton , Ross Zwisler , "Kirill A. Shutemov" Subject: Re: [PATCH 05/21] mm: Trim __do_fault() arguments Message-ID: <20161116131205.GJ21785@quack2.suse.cz> References: <1478233517-3571-1-git-send-email-jack@suse.cz> <1478233517-3571-6-git-send-email-jack@suse.cz> <20161115221001.GE23021@node> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161115221001.GE23021@node> Sender: owner-linux-mm@kvack.org List-ID: On Wed 16-11-16 01:10:01, Kirill A. Shutemov wrote: > On Fri, Nov 04, 2016 at 05:25:01AM +0100, Jan Kara wrote: > > static int do_cow_fault(struct vm_fault *vmf) > > { > > struct vm_area_struct *vma = vmf->vma; > > - struct page *fault_page, *new_page; > > - void *fault_entry; > > + struct page *new_page; > > Why not get rid of new_page too? OK, I did that as well. > Otherwise makes sense: > > Acked-by: Kirill A. Shutemov Thanks! Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org