]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88bed73ea2b2b50c63fca50568205077f1e359da
tree70baed19a4cab18ce053e961a16ba313c3bd4220
parent22cdb68b5e125cacff6f2b7f5edbe307df68b0c0
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