diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-01-16 01:55:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-16 02:56:32 +0100 |
commit | fe683adabfe6629c0b6db32bbbc1ce6cacbf2117 (patch) | |
tree | 16798d03701b19665bcfcdfdf7796c4b52641242 /arch/ia64/lib/strlen_user.S | |
parent | dax: increase granularity of dax_clear_blocks() operations (diff) | |
download | linux-fe683adabfe6629c0b6db32bbbc1ce6cacbf2117.tar.xz linux-fe683adabfe6629c0b6db32bbbc1ce6cacbf2117.zip |
dax: guarantee page aligned results from bdev_direct_access()
If a ->direct_access() implementation ever returns a map count less than
PAGE_SIZE, catch the error in bdev_direct_access(). This simplifies
error checking in upper layers.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reported-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/lib/strlen_user.S')
0 files changed, 0 insertions, 0 deletions