mm: use pgoff in struct vm_fault instead of passing it separately
authorJan Kara <jack@suse.cz>
Wed, 14 Dec 2016 23:07:04 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:09 +0000 (16:04 -0800)
commit0721ec8bc156fafc9057ec1df95cdb3bbc3cbae8
treef7bbba17d6cf8ae2d04fe549f55b79b374ec7e64
parent1a29d85eb0f19b7d8271923d8917d7b4f5540b3e
mm: use pgoff in struct vm_fault instead of passing it separately

struct vm_fault has already pgoff entry.  Use it instead of passing
pgoff as a separate argument and then assigning it later.

Link: http://lkml.kernel.org/r/1479460644-25076-4-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/khugepaged.c
mm/memory.c