]> git.baikalelectronics.ru Git - kernel.git/commit
dax: use linear_page_index()
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 8 Sep 2015 21:59:39 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit67eac103131fd025bb1236200a5e4e05a8b081dc
tree51a2c593661f4fa8272cc6882778f143a5eead17
parent1f5318aab7e182249725c381abd35cc26b4cfdaf
dax: use linear_page_index()

I was basically open-coding it (thanks to copying code from do_fault()
which probably also needs to be fixed).

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dax.c