commit | 72fd6c7be701d80eef34da305a6294c61520fe13 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <mawilcox@microsoft.com> | Tue Nov 28 15:50:12 2017 -0500 |
committer | Matthew Wilcox <mawilcox@microsoft.com> | Tue Feb 06 16:41:28 2018 -0500 |
tree | 43cedfc096c74d6240c51b77d6ed2b5a1042621c | |
parent | 7a4575778f4db109b8b78e6dba03271096793f88 [diff] |
idr: Warn if old iterators see large IDs Now that the IDR can be used to store large IDs, it is possible somebody might only partially convert their old code and use the iterators which can only handle IDs up to INT_MAX. It's probably unwise to show them a truncated ID, so settle for spewing warnings to dmesg, and terminating the iteration. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>