diff options
author | 2022-05-31 16:13:23 +0300 | |
---|---|---|
committer | 2022-05-31 16:13:23 +0300 | |
commit | 03ab8e6297acd1bc0eedaa050e2a1635c576fd11 (patch) | |
tree | 519b79a60508ae3992f0f6bf10deac237dbc45ae /lib/genalloc.c | |
parent | fs/ntfs3: Update valid size if -EIOCBQUEUED (diff) | |
parent | Linux 5.18 (diff) | |
download | wireguard-linux-03ab8e6297acd1bc0eedaa050e2a1635c576fd11.tar.xz wireguard-linux-03ab8e6297acd1bc0eedaa050e2a1635c576fd11.zip |
Merge tag 'v5.18'
Linux 5.18
Diffstat (limited to 'lib/genalloc.c')
-rw-r--r-- | lib/genalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c index 9a57257988c7..00fc50d0a640 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -251,7 +251,7 @@ void gen_pool_destroy(struct gen_pool *pool) list_del(&chunk->next_chunk); end_bit = chunk_size(chunk) >> order; - bit = find_next_bit(chunk->bits, end_bit, 0); + bit = find_first_bit(chunk->bits, end_bit); BUG_ON(bit < end_bit); vfree(chunk); |