+24
−0
+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If there is only a single entry at 0, the first time we call xas_next(), we return the entry. Unfortunately, all subsequent times we call xas_next(), we also return the entry at 0 instead of noticing that the xa_index is now greater than zero. This broke find_get_pages_contig(). Fixes: 64d3e9a9 ("xarray: Step through an XArray") Reported-by:Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by:
Matthew Wilcox (Oracle) <willy@infradead.org>