mm, pmem, xfs: Introduce MF_MEM_PRE_REMOVE for unbind
[linux-2.6-microblaze.git] / drivers / dax / super.c
index 0da9232..f4b6355 100644 (file)
@@ -326,7 +326,8 @@ void kill_dax(struct dax_device *dax_dev)
                return;
 
        if (dax_dev->holder_data != NULL)
-               dax_holder_notify_failure(dax_dev, 0, U64_MAX, 0);
+               dax_holder_notify_failure(dax_dev, 0, U64_MAX,
+                               MF_MEM_PRE_REMOVE);
 
        clear_bit(DAXDEV_ALIVE, &dax_dev->flags);
        synchronize_srcu(&dax_srcu);