]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: Wrap dirblock reads in a dedicated function.
authorJoel Becker <joel.becker@oracle.com>
Thu, 13 Nov 2008 22:49:17 +0000 (14:49 -0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:53 +0000 (08:36 -0800)
commita22305cc693254a2aa651e797875669112ef8635
tree6beabdffc91bec297824f2049293c14bb05daadb
parent5e96581a377fc6bd76e9b112da9aeb8a7ae8bf22
ocfs2: Wrap dirblock reads in a dedicated function.

We have ocfs2_bread() as a vestige of the original ext-based dir code.
It's only used by directories, though.  Turn it into
ocfs2_read_dir_block(), with a prototype matching the other metadata
read functions.  It's set up to validate dirblocks when the time comes.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dir.c