]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0ce45f4e6b732c383181de3af7d422d7b7a89b96
tree5f89b57f3872c4cceb534953d59a9a12ee60ef6a
parent5ce80e6df18386a1a5175894fd0d905aa3038662
[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