commit | 37804376121de1a25fb582bdd8970f139c4d9685 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Mon Aug 26 14:13:30 2013 +1000 |
committer | Ben Myers <bpm@sgi.com> | Fri Aug 30 09:48:59 2013 -0500 |
tree | d475f98cdb8fc0548a7e14f8eb480a58c855a1b3 | |
parent | 0f0d334595105d982ea22ae1d5947723e462344f [diff] |
XFS: Assertion failed: first <= last && last < BBTOB(bp->b_length), file: fs/xfs/xfs_trans_buf.c, line: 568 The calculation doesn't take into account the size of the dir v3 header, so overestimates the hash entries in a node. This causes directory buffer overruns when splitting and merging nodes. Signed-off-by: Dave Chinner <dchinner@redhat.com> Tested-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>