xfs: cleanup data end I/O handlers
authorChristoph Hellwig <hch@infradead.org>
Fri, 30 Oct 2009 09:11:47 +0000 (09:11 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 11 Dec 2009 21:11:20 +0000 (15:11 -0600)
commit5ec4fabb02fcb5b4a4154a27e4299af5aa0f87ac
tree5932e385b83c06241f4696c3d2ae6000bd0f2a6f
parent06342cf8adb23464deae0f58f8bcb87818a3bee6
xfs: cleanup data end I/O handlers

Currently we have different end I/O handlers for read vs the different
types of write I/O.  But they are all very similar so we could just
use one with a few conditionals and reduce code size a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c