[XFS] kill BMAPI_UNWRITTEN
authorChristoph Hellwig <hch@infradead.org>
Fri, 14 Sep 2007 05:23:31 +0000 (15:23 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 05:43:44 +0000 (16:43 +1100)
commit7642861b7eeaddfc82d762b3342044c809c3f77e
treebadaaae721ab515df925b0b6eddf610e6678542e
parent6214ed4461f1ad8aeec41857c73d58afb31be335
[XFS] kill BMAPI_UNWRITTEN

There is no reason to go through xfs_iomap for the BMAPI_UNWRITTEN because
it has nothing in common with the other cases. Instead check for the
shutdown filesystem in xfs_end_bio_unwritten and perform a direct call to
xfs_iomap_write_unwritten (which should be renamed to something more
sensible one day)

SGI-PV: 970241
SGI-Modid: xfs-linux-melb:xfs-kern:29681a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h