• Christoph Hellwig's avatar
    kill xfs_buf_iostart · 5d765b97
    Christoph Hellwig authored
    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: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarDave Chinner <david@fromorbit.com>
    Signed-off-by: default avatarNiv Sardi <xaiki@sgi.com>
    5d765b97
xfs_buf.c 40.9 KB