From: Eric Paris Date: Tue, 7 Jul 2009 14:28:23 +0000 (-0400) Subject: inotify: drop user watch count when a watch is removed X-Git-Tag: v2.6.31-rc5~81^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5549f7cdf84c02939fd368d0842aa2f472bb6e98;p=pandora-kernel.git 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 --- Reading git-diff-tree failed