diff options
author | Dave Jiang <dave.jiang@intel.com> | 2018-09-10 16:18:29 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-09-22 09:07:33 -0700 |
commit | 41c9b1be335b5afc3b5fb71c5d16f9d5939cd13f (patch) | |
tree | bdf124b40cb35fd03b974f2f234ce4b246338281 /fs | |
parent | dfb06cba8c73c0704710b2e3fbe2c35ac66a01b4 (diff) | |
download | linux-41c9b1be335b5afc3b5fb71c5d16f9d5939cd13f.tar.gz linux-41c9b1be335b5afc3b5fb71c5d16f9d5939cd13f.tar.bz2 linux-41c9b1be335b5afc3b5fb71c5d16f9d5939cd13f.zip |
device-dax: Add missing address_space_operations
With address_space_operations missing for device dax, namely the
.set_page_dirty, we hit a kernel warning when running destructive
ndctl unit test: make TESTS=device-dax check
WARNING: CPU: 3 PID: 7380 at fs/buffer.c:581 __set_page_dirty+0xb1/0xc0
Setting address_space_operations to noop_set_page_dirty and
noop_invalidatepage for device dax to prevent fallback to
__set_page_dirty_buffers() and block_invalidatepage() respectively.
Fixes: 2232c6382a ("device-dax: Enable page_mapping()")
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions