diff mbox series

[RFC,2/3] fs: dax.c: move down bit DAX_EMPTY

Message ID CAE1WUT6GfMH9krfXE2oEGuX9KoLe83SUZZbxQYEFvNF8-wFNhg@mail.gmail.com (mailing list archive)
State New
Headers show
Series Migrate zero page DAX bit from DAX_ZERO_PAGE to XA_ZERO_ENTRY | expand

Commit Message

Amy Parker Nov. 29, 2020, 4:36 a.m. UTC
As DAX_ZERO_PAGE has been removed, DAX_EMPTY can be shifted downwards.

Signed-off-by: Amy Parker <enbyamy@gmail.com>
---
 fs/dax.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/dax.c b/fs/dax.c
index fa8ca1a71bbd..c2bdccef3140 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -77,7 +77,7 @@  fs_initcall(init_dax_wait_table);
 #define DAX_SHIFT    (4)
 #define DAX_LOCKED    (1UL << 0)
 #define DAX_PMD        (1UL << 1)
-#define DAX_EMPTY    (1UL << 3)
+#define DAX_EMPTY    (1UL << 2)

 /*
  * A zero entry, XA_ZERO_ENTRY, is used to represent a zero page. This