kill xfs_buf_iostart
commit5d765b976c3a41faf9a73718fb8cc5833990a8ef
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Dec 2008 11:20:26 +0000 (3 12:20 +0100)
committerNiv Sardi <xaiki@sgi.com>
Thu, 4 Dec 2008 04:39:20 +0000 (4 15:39 +1100)
tree05ece6cc9b8b9cbcd1775ecbd9df72ff0e855926
parent5cafdeb2891a415a5dbf0ad80f0afedf8369e6bb
kill xfs_buf_iostart

xfs_buf_iostart is a "shared" helper for xfs_buf_read_flags,
xfs_bawrite, and xfs_bdwrite - except that there isn't much shared
code but rather special cases for each caller.

So remove this function and move the functionality to the caller.
xfs_bawrite and xfs_bdwrite are now big enough to be moved out of
line and the xfs_buf_read_flags is moved into a new helper called
_xfs_buf_read.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h