From: Lukas Czerner Date: Tue, 13 May 2014 02:21:43 +0000 (-0400) Subject: ext4: use EXT_MAX_BLOCKS in ext4_es_can_be_merged() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~88^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0baaea64009d5edbfee36a949017f7c68926fafc;p=pandora-kernel.git ext4: use EXT_MAX_BLOCKS in ext4_es_can_be_merged() In ext4_es_can_be_merged() when checking whether we can merge two extents we should use EXT_MAX_BLOCKS instead of defining it manually. Also if it is really the case we should notify userspace because clearly there is a bug in extent status tree implementation since this should never happen. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" Reviewed-by: Zheng Liu --- Reading git-diff-tree failed