xfs: remove delwri buffer handling from xfs_buf_iorequest
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 08:28:03 +0000 (08:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:14:59 +0000 (21:14 -0500)
commit375ec69d2ef6e0797f19f5823e36e249765c3d41
tree5c41cec41a3f8e852bb55500be6ed22efa30290c
parent7271d243f9d1b4106289e4cf876c8b1203de59ab
xfs: remove delwri buffer handling from xfs_buf_iorequest

We cannot ever reach xfs_buf_iorequest for a buffer with XBF_DELWRI set,
given that all write handlers make sure that the buffer is remove from
the delwri queue before, and we never do reads with the XBF_DELWRI flag
set (which the code would not handle correctly anyway).

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