From: Eric Paris Date: Mon, 24 Aug 2009 20:03:35 +0000 (-0400) Subject: inotify: do not BUG on idr entries at inotify destruction X-Git-Tag: v2.6.31-rc8~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf4374267fbe966e8e4e7db68f5dc7b267439780;p=pandora-kernel.git inotify: do not BUG on idr entries at inotify destruction If an inotify watch is left in the idr when an fsnotify group is destroyed this will lead to a BUG. This is not a dangerous situation and really indicates a programming bug and leak of memory. This patch changes it to use a WARN and a printk rather than killing people's boxes. Signed-off-by: Eric Paris --- Reading git-diff-tree failed