Skip to content
  • Matthew Wilcox's avatar
    idr: Warn if old iterators see large IDs · 72fd6c7b
    Matthew Wilcox authored
    
    
    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: default avatarMatthew Wilcox <mawilcox@microsoft.com>
    72fd6c7b