]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6b6dfd52c810af7f215b97e9054dc8c82aa67d2
tree516a8c7d3eb87bcd07d97e3582964403cdd0f010
parent4184c0ec1ade2b73b58c41e1084d8b22fc53d09b
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