dax: stop requiring a live device for dax_flush()
authorDan Williams <dan.j.williams@intel.com>
Sun, 15 Oct 2017 00:42:02 +0000 (17:42 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 15 Nov 2017 00:49:15 +0000 (16:49 -0800)
commit6a21586a637e624ae736f94aeb0839f6a1dd0411
tree5ea2533aa069e59df0e2f6893e972c210019791f
parent7a862fbbdec665190c5ef298c0c6ec9f3915cf45
dax: stop requiring a live device for dax_flush()

Now that dax_flush() is no longer a driver callback (commit c3ca015fab6d
"dax: remove the pmem_dax_ops->flush abstraction"), stop requiring the
dax_read_lock() to be held and the device to be alive.  This is in
preparation for switching filesystem-dax to store pfns instead of
sectors in the radix.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c