inotify: only warn once for inotify problems
commit3ed2f40b8784eb1f2f6b4fd7d4a7aff5732ebfe6
authorEric Paris <eparis@redhat.com>
Fri, 15 Jan 2010 17:12:25 +0000 (15 12:12 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:55:32 +0000 (1 15:55 -0700)
treeb37093b9cd2b9a97cb6b2267c1c4748e2521cd10
parent06e66e5a5be3025cdf7a8c7027f9cbd9c754e463
inotify: only warn once for inotify problems

commit 976ae32be45a736acd49215a7e4771ff91f161c3 upstream.

inotify will WARN() if it finds that the idr and the fsnotify internals
somehow got out of sync.  It was only supposed to do this once but due
to this stupid bug it would warn every single time a problem was
detected.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/notify/inotify/inotify_fsnotify.c