[XFS] Catch errors returned from xfs_bmap_last_offset().
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:59 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:59:45 +0000 (11:59 +1000)
commit7c9ef85c5672ae316aafd7bbe0bbadebe90301e6
tree5f89b57f3872c4cceb534953d59a9a12ee60ef6a
parentfc6149d8d9634814cdcd9283b8f2efd3359181df
[XFS] Catch errors returned from xfs_bmap_last_offset().

xfs_bmap_last_offset() can fail and return an error.
xfs_iomap_write_allocate() fails to detect and propagate the error.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30802a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_iomap.c