-
由 Matthew Wilcox (Oracle) 提交于
If there is an entry at ULONG_MAX, xa_for_each() will overflow the 'index + 1' in xa_find_after() and wrap around to 0. Catch this case and terminate the loop by returning NULL. Signed-off-by: NMatthew Wilcox (Oracle) <willy@infradead.org> Cc: stable@vger.kernel.org430f24f9