From: Joel Becker Date: Fri, 10 Oct 2008 00:20:31 +0000 (-0700) Subject: ocfs2: Simplify ocfs2_read_block() X-Git-Tag: v2.6.28-rc1~572^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fcaa56a2a020dd6f90c202b7084e6f4cbedb6c2;p=pandora-kernel.git ocfs2: Simplify ocfs2_read_block() More than 30 callers of ocfs2_read_block() pass exactly OCFS2_BH_CACHED. Only six pass a different flag set. Rather than have every caller care, let's make ocfs2_read_block() take no flags and always do a cached read. The remaining six places can call ocfs2_read_blocks() directly. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed