• Matthew Wilcox's avatar
    ida: Lock the IDA in ida_destroy · 50d97d50
    Matthew Wilcox authored
    The user has no need to handle locking between ida_simple_get() and
    ida_simple_remove().  They shouldn't be forced to think about whether
    ida_destroy() might be called at the same time as any of their other
    IDA manipulation calls.  Improve the documnetation while I'm in here.
    Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
    50d97d50
idr.c 18.7 KB