commit | b90ca5cc32f59bb214847c6855959702f00c6801 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Tue Sep 11 21:27:44 2018 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Sep 11 21:27:44 2018 -0700 |
tree | e6161ec72ec48d6011909d42f560a86e1814a58f | |
parent | 11da3a7f84f19c26da6f86af878298694ede0804 [diff] |
filesystem-dax: Fix use of zero page Use my_zero_pfn instead of ZERO_PAGE(), and pass the vaddr to it instead of zero so it works on MIPS and s390 who reference the vaddr to select a zero page. Cc: <stable@vger.kernel.org> Fixes: 91d25ba8a6b0 ("dax: use common 4k zero page for dax mmap reads") Signed-off-by: Matthew Wilcox <willy@infradead.org> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>