]> 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)
commit0be44309193ac2eecb9a969113c5fbd1988ea439
tree4e1e44aa97d2f1934536fac260d238796cdef322
parentee602e8312acce37c3308102ca98cb69916cfa06
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