dax: unmap/truncate on device shutdown
authorDan Williams <dan.j.williams@intel.com>
Thu, 4 Aug 2016 23:53:50 +0000 (16:53 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 24 Aug 2016 05:58:51 +0000 (22:58 -0700)
commit9dc1e4927bfabaf654738c9ecca3a4926a0aaeb5
tree6a8eb0625e290f6cecd71900c47345d63791d8f4
parent3bc52c45bac26bf7ed1dc8d287ad1aeaed1250b6
dax: unmap/truncate on device shutdown

Invalidate all mappings of a device-dax instance when the device is
unregistered.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.c