Skip to content
Commit d69d287a authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

XArray tests: Check mark 2 gets squashed



We do not currently check that the loop in xas_squash_marks() doesn't have
an off-by-one error in it.  It didn't, but a patch which introduced an
off-by-one error wasn't caught by any existing test.  Switch the roles
of XA_MARK_1 and XA_MARK_2 to catch that bug.

Reported-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent 19ba9ecf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment