xfs: remove impossible to read code in xfs_bmap_add_extent_delay_real
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:42 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:03 +0000 (21:15 -0500)
commitb9b984d7846e37c57e5b3f8cd883ad45e8ebc2cf
tree93e383481dcbb5b5c4ded5d25e10cec1c95ac997
parente7455e02e5effcdd49bb28e7dfface2d3473de52
xfs: remove impossible to read code in xfs_bmap_add_extent_delay_real

We already have the worst case blocks reserved, so xfs_icsb_modify_counters
won't fail in xfs_bmap_add_extent_delay_real.  In fact we've had an assert
to catch this case since day and it never triggered.  So remove the code
to try smaller reservations, and just return the error for that case in
addition to keeping the assert.

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