Files
erofs-linux/lib
Andrew Morton 8d3b35914a [PATCH] inotify/idr leak fix
Fix a bug which was reported and diagnosed by
Stefan Jones <[email protected]>

IDR trees include a cache of idr_layer objects.  There's no way to destroy
this cache, so when we discard an overall idr tree we end up leaking some
memory.

Add and use idr_destroy() for this.  v9fs and infiniband also need to use
idr_destroy() to avoid leaks.

Or, we make the cache global, like radix_tree_preload().  Which is probably
better.  Later.

Cc: Eric Van Hensbergen <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Robert Love <[email protected]>
Cc: John McCutchan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2005-10-23 16:38:39 -07:00
..
2005-10-18 08:26:15 -07:00
…
…
2005-08-07 10:00:40 -07:00
…
…
…
…
…
2005-10-23 16:38:39 -07:00
…
…
2005-09-10 10:06:21 -07:00
…
…
2005-09-10 10:06:21 -07:00
…
…
…
…
2005-09-10 10:06:31 -07:00
…
2005-10-08 15:00:57 -07:00
2005-08-23 18:43:46 -07:00