diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-01-17 22:13:21 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-01-17 22:33:33 -0500 |
commit | c44aa5e8ab58b5f4cf473970ec784c3333496a2e (patch) | |
tree | 1ebdac6c222f65df90b970fa8e6cc160454adfaf /lib/bitrev.c | |
parent | 19c30f4dd0923ef191f35c652ee4058e91e89056 (diff) | |
download | linux-c44aa5e8ab58b5f4cf473970ec784c3333496a2e.tar.gz linux-c44aa5e8ab58b5f4cf473970ec784c3333496a2e.tar.bz2 linux-c44aa5e8ab58b5f4cf473970ec784c3333496a2e.zip |
XArray: Fix xas_find returning too many entries
If you call xas_find() with the initial index > max, it should have
returned NULL but was returning the entry at index.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions