ocfs2: Separate out sync reads from ocfs2_read_blocks()
authorJoel Becker <joel.becker@oracle.com>
Fri, 10 Oct 2008 00:20:29 +0000 (17:20 -0700)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 18:29:10 +0000 (11:29 -0700)
commitda1e90985a0e767e44397c9db0937e236033fa58
tree88d16dd378bf1b180d345a87de95316546af348a
parent936b8834366ec05f2a6993f73afd8348cac9718e
ocfs2: Separate out sync reads from ocfs2_read_blocks()

The ocfs2_read_blocks() function currently handles sync reads, cached,
reads, and sometimes cached reads.  We're going to add some
functionality to it, so first we should simplify it.  The uncached,
synchronous reads are much easer to handle as a separate function, so we
instroduce ocfs2_read_blocks_sync().

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/buffer_head_io.c
fs/ocfs2/buffer_head_io.h
fs/ocfs2/inode.c
fs/ocfs2/journal.c
fs/ocfs2/resize.c