ext2: Return BH_New buffers for zeroed blocks
authorJan Kara <jack@suse.cz>
Wed, 10 Aug 2016 14:42:53 +0000 (16:42 +0200)
committerDan Williams <dan.j.williams@intel.com>
Tue, 27 Dec 2016 04:29:24 +0000 (20:29 -0800)
commite568df6b84ff05a22467503afc11bee7a6ba0700
tree516a8c7d3eb87bcd07d97e3582964403cdd0f010
parent7ce7d89f48834cefece7804d38fc5d85382edf77
ext2: Return BH_New buffers for zeroed blocks

So far we did not return BH_New buffers from ext2_get_blocks() when we
allocated and zeroed-out a block for DAX inode to avoid racy zeroing in
DAX code. This zeroing is gone these days so we can remove the
workaround.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/ext2/inode.c