]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ext4/inode.c
ext4: let ext4_ext_map_blocks return EXT4_MAP_UNWRITTEN flag
authorZheng Liu <wenqing.lz@taobao.com>
Mon, 18 Feb 2013 05:28:04 +0000 (00:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 Feb 2013 05:28:04 +0000 (00:28 -0500)
commita25a4e1a5d5dc0f97dddbca44e695c532d8228c1
tree4c2c484e8f0fe68835f859ff85c66b1a3a6a5497
parentbe401363ac5ec652c706263a59b0bd0acc3612e8
ext4: let ext4_ext_map_blocks return EXT4_MAP_UNWRITTEN flag

This commit lets ext4_ext_map_blocks return EXT4_MAP_UNWRITTEN flag
because in later commit ext4_map_blocks needs to use this flag to
determine the extent status.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/extents.c
fs/ext4/inode.c