summaryrefslogtreecommitdiff
path: root/fs/ext2/acl.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-05-11 05:38:13 +0300
committerDan Williams <dan.j.williams@intel.com>2017-05-11 07:46:55 +0300
commite84b83b9ee2187817cf895471675f1ccdf64cd53 (patch)
tree5cfe0788dff1536475ce68c9c2241327e545d8b3 /fs/ext2/acl.c
parentb177fe85dd27de1ee4c29f59c4e82b3ea3b78784 (diff)
downloadlinux-e84b83b9ee2187817cf895471675f1ccdf64cd53.tar.xz
filesystem-dax: fix broken __dax_zero_page_range() conversion
The conversion of __dax_zero_page_range() to 'struct dax_operations' caused it to frequently fail. The mistake was treating the @size parameter as a dax mapping length rather than just a length of the clear_pmem() operation. The dax mapping length is assumed to be hard coded as PAGE_SIZE. Without this fix any page unaligned zeroing request will trigger a -EINVAL return from bdev_dax_pgoff(). Cc: Jan Kara <jack@suse.com> Cc: Christoph Hellwig <hch@lst.de> Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com> Tested-by: Ross Zwisler <ross.zwisler@linux.intel.com> Fixes: cccbce671582 ("filesystem-dax: convert to dax_direct_access()") Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/ext2/acl.c')
0 files changed, 0 insertions, 0 deletions