fs/notify/inotify: decrement user inotify count on close
authorKeith Packard <keithp@keithp.com>
Thu, 2 Jul 2009 04:56:38 +0000 (21:56 -0700)
committerEric Paris <eparis@redhat.com>
Thu, 2 Jul 2009 12:23:00 +0000 (08:23 -0400)
The per-user inotify_devs value is incremented each time a new file is
allocated, but never decremented. This led to inotify_init failing after a
limited number of calls.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found