xfs: cleanup the xfs_iomap_write_* helpers
authorChristoph Hellwig <hch@infradead.org>
Fri, 10 Dec 2010 08:42:19 +0000 (08:42 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 22:05:47 +0000 (16:05 -0600)
commit405f80429436d38ab4e6b4c0d99861a1f00648fd
tree78c8023b267fb5b8ba628997c7bbfabf260eb010
parent6ac7248ec5f20cb44a063d7c7191b8e0068b5a28
xfs: cleanup the xfs_iomap_write_* helpers

Remove passing the BMAPI_* flags to these helpers, in
xfs_iomap_write_direct the check BMAPI_DIRECT was always true, and
in the xfs_iomap_write_delay path is was never checked at all.
Remove the nmap return value as we never make use of it.

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_iomap.c