xfs: remove the nextents variable in xfs_bmapi
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Sep 2011 20:40:43 +0000 (20:40 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:03 +0000 (21:15 -0500)
commitecee76ba9d91fdcbdff933ca1bd41465ca4c4fdb
tree70baed19a4cab18ce053e961a16ba313c3bd4220
parentb9b984d7846e37c57e5b3f8cd883ad45e8ebc2cf
xfs: remove the nextents variable in xfs_bmapi

Instead of using a local variable that needs to updated when we modify
the extent map just check ifp->if_bytes directly where we use it.

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