inotify: simplify the inotify idr handling
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:04 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:16 +0000 (09:58 -0400)
commitb7ba83715317007962ee318587de92f14e9c3aaa
tree8964c554566ddcd0b73c266b95461dab1547aaf0
parentfc0f5ac8fe693d1b05f5a928cc48135d1c8b7f2e
inotify: simplify the inotify idr handling

This patch moves all of the idr editing operations into their own idr
functions.  It makes it easier to prove locking correctness and to to
understand the code flow.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/inotify/inotify_user.c