Re: [PATCH 05/21] mm: Trim __do_fault() arguments

From
Jan Kara <jack@suse.cz>
Date
2016-11-16 13:12:05
Also in
linux-fsdevel, nvdimm
Reply to
Kirill A. Shutemov, 2016-11-15
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:
quoted
 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 <redacted>
Thanks!

								Honza
-- 
Jan Kara [off-list ref]
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Thread (56 messages) 56 messages, 4 authors, last reply 2016-11-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help