mm, dax: change pmd_fault() to take only vmf parameter
authorDave Jiang <dave.jiang@intel.com>
Wed, 22 Feb 2017 23:40:06 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 23 Feb 2017 00:41:26 +0000 (16:41 -0800)
commitf42003917b4569a2f4f0c79c35e1e3df2859f81a
tree93532f9f8deee9a6ad2f309e2edde57400a2e774
parentd8a849e1bc123790bbbf1facba94452a3aef5736
mm, dax: change pmd_fault() to take only vmf parameter

pmd_fault() and related functions really only need the vmf parameter since
the additional parameters are all included in the vmf struct.  Remove the
additional parameter and simplify pmd_fault() and friends.

Link: http://lkml.kernel.org/r/1484085142-2297-8-git-send-email-ross.zwisler@linux.intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/dax/dax.c
fs/dax.c
fs/ext4/file.c
fs/xfs/xfs_file.c
include/linux/dax.h
include/linux/mm.h
include/trace/events/fs_dax.h
mm/memory.c