This just works around a the "poisoned page" warning that will be
properly fixed in a future version of this patch set. Please ignore
for the moment.

Signed-off-by: John Groves <j...@groves.net>
---
 fs/dax.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/dax.c b/fs/dax.c
index 21b47402b3dc..635937593d5e 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -369,7 +369,6 @@ static void dax_associate_entry(void *entry, struct 
address_space *mapping,
                if (shared) {
                        dax_page_share_get(page);
                } else {
-                       WARN_ON_ONCE(page->mapping);
                        page->mapping = mapping;
                        page->index = index + i++;
                }
-- 
2.49.0


Reply via email to