From: Joseph Qi Date: Wed, 24 Jun 2015 23:55:23 +0000 (-0700) Subject: ocfs2: fix wrong check in ocfs2_direct_IO_get_blocks X-Git-Tag: omap-for-v4.2/fixes-rc1^2~125^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae1f081467a147c125dfd5920e1c55f0e8ad031a;p=pandora-kernel.git ocfs2: fix wrong check in ocfs2_direct_IO_get_blocks contig_blocks gotten from ocfs2_extent_map_get_blocks cannot be compared with clusters_to_alloc. So convert it to clusters first. Signed-off-by: Joseph Qi Reviewed-by: Weiwei Wang Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed