xfs: fix up asserts in xfs_iflush_fork
authorChristoph Hellwig <hch@infradead.org>
Wed, 11 May 2011 15:04:10 +0000 (15:04 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 25 May 2011 15:48:37 +0000 (10:48 -0500)
commitab1908a5bb21a8eebf16e5d92d087fd9413cf67d
tree7c8728635209cb8f463c97ba934875fa1388e370
parentf1c63b73cf60dc4800cde5ce7fd9466c419e5e36
xfs: fix up asserts in xfs_iflush_fork

Remove asserts in xfs_iflush_fork that would call xfs_iext_get_ext
with a potentially invalid extent buffer index.

Based on an earlier patch from Lachlan McIlroy.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_inode.c