xfs: handle zero entries case in xfs_iext_rebalance_leaf
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Nov 2017 17:11:43 +0000 (09:11 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 9 Nov 2017 22:08:54 +0000 (14:08 -0800)
commitae82968ee9b404b9fc101f9d75e171c78797a4d1
tree1147b64b59035df1cf9f51031991ea92a68569b9
parent3e27c418a7a13b8dbf33f6eb49b0e461f011bdcd
xfs: handle zero entries case in xfs_iext_rebalance_leaf

And also rename fill to nr_entries to match the rest of the code.

Reported-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_iext_tree.c