xfs: do not call xfs_bdstrat_cb in xfs_buf_iodone_callbacks
authorChristoph Hellwig <hch@infradead.org>
Fri, 13 Jul 2012 06:24:10 +0000 (02:24 -0400)
committerBen Myers <bpm@sgi.com>
Fri, 13 Jul 2012 17:50:54 +0000 (12:50 -0500)
commita2dcf5df5f3813a44423d4a5026666e751ec00dd
tree76ef63788a8e8c98824ef7cc7b70535d4c7b154f
parent08023d6dbe840dc4271805a9ea376fcbdee9f744
xfs: do not call xfs_bdstrat_cb in xfs_buf_iodone_callbacks

xfs_bdstrat_cb only adds a check for a shutdown filesystem over
xfs_buf_iorequest, but xfs_buf_iodone_callbacks just checked for a shut down
filesystem a little earlier.  In addition the shutdown handling in
xfs_bdstrat_cb is not very suitable for this caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_buf_item.c
This page took 0.037157 seconds and 5 git commands to generate.