Skip to content
Commit 5549f7cd authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent aea1f796
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment