summaryrefslogtreecommitdiff
path: root/lib/idr.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-09-08 21:46:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-09-08 21:46:26 -0700
commit3095dd99dd759a5cab8bb81674bc133b1365fb6b (patch)
tree38f85b377935b5f0868dd7674a1c5e8598176c65 /lib/idr.c
parent7402e635edb9b430125017d2489974c9a10b069c (diff)
parent2a15de80dd0f7e04a823291aa9eb49c5294f56af (diff)
downloadlinux-3095dd99dd759a5cab8bb81674bc133b1365fb6b.tar.gz
linux-3095dd99dd759a5cab8bb81674bc133b1365fb6b.tar.bz2
linux-3095dd99dd759a5cab8bb81674bc133b1365fb6b.zip
Merge tag 'xarray-6.6' of git://git.infradead.org/users/willy/xarray
Pull xarray fixes from Matthew Wilcox: - Fix a bug encountered by people using bittorrent where they'd get NULL pointer dereferences on page cache lookups when using XFS - Two documentation fixes * tag 'xarray-6.6' of git://git.infradead.org/users/willy/xarray: idr: fix param name in idr_alloc_cyclic() doc xarray: Document necessary flag in alloc functions XArray: Do not return sibling entries from xa_load()
Diffstat (limited to 'lib/idr.c')
-rw-r--r--lib/idr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c
index 7ecdfdb5309e..13f2758c2377 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -100,7 +100,7 @@ EXPORT_SYMBOL_GPL(idr_alloc);
* @end: The maximum ID (exclusive).
* @gfp: Memory allocation flags.
*
- * Allocates an unused ID in the range specified by @nextid and @end. If
+ * Allocates an unused ID in the range specified by @start and @end. If
* @end is <= 0, it is treated as one larger than %INT_MAX. This allows
* callers to use @start + N as @end as long as N is within integer range.
* The search for an unused ID will start at the last ID allocated and will