ocfs2: Simplify ocfs2_read_block()
authorJoel Becker <joel.becker@oracle.com>
Fri, 10 Oct 2008 00:20:31 +0000 (17:20 -0700)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 18:51:57 +0000 (11:51 -0700)
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 <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>

No differences found