]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7c075e24a634cc2357135efb2db7b8193cc29f1
tree88d16dd378bf1b180d345a87de95316546af348a
parent8785f99eab798fc0cb56218e95f017914af6e658
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