]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix number of records handling in xfs_iext_split_leaf
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Nov 2017 17:11:41 +0000 (09:11 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 9 Nov 2017 22:08:53 +0000 (14:08 -0800)
commita774909a4e2b26c2aa0daee6c3b374af19f7ee57
tree4e1e44aa97d2f1934536fac260d238796cdef322
parent3510f5f1905a8f477eac429e14f31cd6f591906a
xfs: fix number of records handling in xfs_iext_split_leaf

Fix to check the correct value, and remove a duplicate handling of the
uneven record number split algorith,

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