UPSTREAM: filemap: pass vm_fault to the mmap ra helpers
authorJosef Bacik <josef@toxicpanda.com>
Wed, 13 Mar 2019 18:44:18 +0000 (11:44 -0700)
committerMinchan Kim <minchan@google.com>
Fri, 29 Mar 2019 06:05:56 +0000 (15:05 +0900)
commitd5e44236b2ecc206b2f61caec8d2849c1b2d7ad9
tree89321a903aed28a7e14be3f1486a56d7107c0f43
parent317336de579f9ffd608709728732b064e78df403
UPSTREAM: filemap: pass vm_fault to the mmap ra helpers

All of the arguments to these functions come from the vmf.

Cut down on the amount of arguments passed by simply passing in the vmf
to these two helpers.

Bug: 124328118
Change-Id: I5029f277431aaa50ee58df185fa13d7c58b3d774
Link: http://lkml.kernel.org/r/20181211173801.29535-3-josef@toxicpanda.com
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 2a1180f1bd389e9d47693e5eb384b95f482d8d19)
Signed-off-by: Minchan Kim <minchan@google.com>
mm/filemap.c