]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dax: relocate some dax functions
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Wed, 6 Sep 2017 23:18:39 +0000 (16:18 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 21 Sep 2017 16:46:53 +0000 (11:46 -0500)
commit7b6956df272fecf508785757e1ee6821923aa8c9
tree9efc2843b3db5859ec93739102ab1a4036613aeb
parenta9342b2ff4a9537adf149668e4d1beba2fa2abca
dax: relocate some dax functions

BugLink: http://bugs.launchpad.net/bugs/1704439
dax_load_hole() will soon need to call dax_insert_mapping_entry(), so it
needs to be moved lower in dax.c so the definition exists.

dax_wake_mapping_entry_waiter() will soon be removed from dax.h and be
made static to dax.c, so we need to move its definition above all its
callers.

Link: http://lkml.kernel.org/r/20170724170616.25810-3-ross.zwisler@linux.intel.com
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit e30331ff05f689f8f2faeb51664299c4d7841f15)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
fs/dax.c