]> Git Repo - linux.git/commit
fs/notify/inotify: decrement user inotify count on close
authorKeith Packard <[email protected]>
Thu, 2 Jul 2009 04:56:38 +0000 (21:56 -0700)
committerEric Paris <[email protected]>
Thu, 2 Jul 2009 12:23:00 +0000 (08:23 -0400)
commitbdae997f44535ac4ebe1e055ffe59eeee946f453
treeee17363d16d584551729ce99a4ac5a77ee8b13fa
parentd960eea974f5e500c0dcb95a934239cc1f481cfd
fs/notify/inotify: decrement user inotify count on close

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 <[email protected]>
Signed-off-by: Eric Paris <[email protected]>
fs/notify/inotify/inotify_user.c
This page took 0.050666 seconds and 4 git commands to generate.