commit | 5549f7cdf84c02939fd368d0842aa2f472bb6e98 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Jul 07 10:28:23 2009 -0400 |
committer | Eric Paris <eparis@redhat.com> | Tue Jul 21 15:26:26 2009 -0400 |
tree | ca921e8ce50067a4d034eefbf686551215e8504e | |
parent | aea1f7964ae6cba5eb419a958956deb9016b3341 [diff] |
inotify: drop user watch count when a watch is removed The inotify rewrite forgot to drop the inotify watch use cound when a watch was removed. This means that a single inotify fd can only ever register a maximum of /proc/sys/fs/max_user_watches even if some of those had been freed. Signed-off-by: Eric Paris <eparis@redhat.com>