inotify: convert inotify_add_to_idr() to use idr_alloc_cyclic()
authorJeff Layton <jlayton@redhat.com>
Mon, 29 Apr 2013 23:21:21 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:41 +0000 (18:28 -0700)
commita66c04b4534f9b25e1241dff9a9d94dff9fd66f8
treece3b9b76dc749a7857715813a96a3533f44e2f1d
parent398c33aaa4edb05339fed3720847ea6a06987ff1
inotify: convert inotify_add_to_idr() to use idr_alloc_cyclic()

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: John McCutchan <john@johnmccutchan.com>
Cc: Robert Love <rlove@rlove.org>
Cc: Eric Paris <eparis@parisplace.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/notify/inotify/inotify_user.c
include/linux/fsnotify_backend.h