diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2015-09-08 23:59:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-09 00:35:28 +0200 |
commit | e676a4c191653787c3fe851fe3b9f1f33d49dac2 (patch) | |
tree | 5b83a284b5a4fbe41da5a34f0e321e09e0d4c188 /fs/ext4/ioctl.c | |
parent | fs/dax.c: fix typo in #endif comment (diff) | |
download | linux-e676a4c191653787c3fe851fe3b9f1f33d49dac2.tar.xz linux-e676a4c191653787c3fe851fe3b9f1f33d49dac2.zip |
ext4: use ext4_get_block_write() for DAX
DAX relies on the get_block function either zeroing newly allocated
blocks before they're findable by subsequent calls to get_block, or
marking newly allocated blocks as unwritten. ext4_get_block() cannot
create unwritten extents, but ext4_get_block_write() can.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Reported-by: Andy Rudoff <andy.rudoff@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions