commit | b3bf607d58520ea8c0666aeb4be60dbb724cd3a2 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Feb 02 15:13:59 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Feb 02 15:13:59 2017 -0800 |
tree | 56e86f190cb9513c8e23d670e9637f87217b10f3 | |
parent | d5a91baeb6033c3392121e4d5c011cdc08dfa9f7 [diff] |
xfs: check for obviously bad level values in the bmbt root We can't handle a bmbt that's taller than BTREE_MAXLEVELS, and there's no such thing as a zero-level bmbt (for that we have extents format), so if we see this, send back an error code. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>