Arnd Bergmann 01cddfe990 mm,fs,dax: mark dax_iomap_pmd_fault as const
The two alternative implementations of dax_iomap_fault have different
prototypes, and one of them is obviously wrong as seen from this build
warning:

  fs/dax.c: In function 'dax_iomap_fault':
  fs/dax.c:1462:35: error: passing argument 2 of 'dax_iomap_pmd_fault' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]

This marks the argument 'const' as in all the related functions.

Fixes: a2d581675d48 ("mm,fs,dax: change ->pmd_fault to ->huge_fault")
Link: http://lkml.kernel.org/r/20170227203349.3318733-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-27 18:43:45 -08:00
..
2016-12-22 11:25:24 +00:00
2016-12-25 17:21:23 +01:00
2017-01-31 13:23:09 -05:00
2017-02-22 11:44:32 -08:00
2017-02-25 11:12:48 -05:00
2017-02-03 16:24:18 +01:00
2016-12-05 19:01:16 -05:00
2016-09-27 18:47:38 -04:00
2017-01-30 16:32:25 -08:00
2016-12-14 23:48:11 -05:00
2016-12-05 19:03:49 -05:00