mirror of
https://github.com/torvalds/linux.git
synced 2026-05-15 06:03:19 -04:00
One of the charming quirks of the idr_alloc() interface is that you can pass a negative end and it will be interpreted as "maximum". Ensure we don't break that. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>