xfs: kill xfs_bdstrat_cb
authorDave Chinner <dchinner@redhat.com>
Wed, 1 Oct 2014 23:04:40 +0000 (09:04 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 1 Oct 2014 23:04:40 +0000 (09:04 +1000)
commit8dac39219827113f14e97507646a610ca426b69e
tree625f8d009bccc4a70f3d442948cc0a287171c88b
parent61be9c529a4a715ab8679e9ca82bc3790c7ab66c
xfs: kill xfs_bdstrat_cb

Only has two callers, and is just a shutdown check and error handler
around xfs_buf_iorequest. However, the error handling is a mess of
read and write semantics, and both internal callers only call it for
writes. Hence kill the wrapper, and follow up with a patch to
sanitise the error handling.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_buf.c