dax: remove access to page->index
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 16 Dec 2024 15:53:55 +0000 (15:53 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Mar 2025 05:06:36 +0000 (22:06 -0700)
commit995abaaadd30e2f9e49127694d41403839d3e1bd
tree457e557e4a3fe07b8d0c09351b13a660a66f4293
parenta91aaf8dd549dcee9caab227ecaa6cbc243bbc5a
dax: remove access to page->index

This looks like a complete mess (why are we setting page->index at page
fault time?), but I no longer care about DAX, and there's no reason to let
DAX hold us back from removing page->index.

Link: https://lkml.kernel.org/r/20241216155408.8102-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jane Chu <jane.chu@oracle.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/dax/device.c