commit | 4056a74aafba368f763d5dd7ab92a5d74e098c1e | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Feb 02 15:13:59 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 09:30:31 2017 +0200 |
tree | 025a9f6adcfb836d2e65ca46c849b68a4155b30e | |
parent | efab3ae29c154e6dd1e6c80e077bf3d51ad2829f [diff] |
xfs: check for obviously bad level values in the bmbt root commit b3bf607d58520ea8c0666aeb4be60dbb724cd3a2 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>