diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-07-13 02:24:10 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-07-13 12:50:54 -0500 |
commit | a2dcf5df5f3813a44423d4a5026666e751ec00dd (patch) | |
tree | 76ef63788a8e8c98824ef7cc7b70535d4c7b154f /fs/xfs/xfs_buf_item.c | |
parent | 08023d6dbe840dc4271805a9ea376fcbdee9f744 (diff) | |
download | kernel-common-a2dcf5df5f3813a44423d4a5026666e751ec00dd.tar.gz kernel-common-a2dcf5df5f3813a44423d4a5026666e751ec00dd.tar.bz2 kernel-common-a2dcf5df5f3813a44423d4a5026666e751ec00dd.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r-- | fs/xfs/xfs_buf_item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index e4a6e4b6fa03..a8d0ed911196 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c @@ -1101,7 +1101,7 @@ xfs_buf_iodone_callbacks( if (!XFS_BUF_ISSTALE(bp)) { bp->b_flags |= XBF_WRITE | XBF_ASYNC | XBF_DONE; - xfs_bdstrat_cb(bp); + xfs_buf_iorequest(bp); } else { xfs_buf_relse(bp); } |