commit | d69d287a9002b70bdbe2975660b97241ccefc071 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Mon Jan 14 13:57:31 2019 -0500 |
committer | Matthew Wilcox <willy@infradead.org> | Mon Jan 14 14:50:34 2019 -0500 |
tree | 9e0b20a7414f615de4cfade013a4e8b93451bb90 | |
parent | 19ba9ecf24189bd74d070aa1b1c4bcb9fe4ae849 [diff] |
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: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Matthew Wilcox <willy@infradead.org>