]> git.ipfire.org Git - people/arne_f/kernel.git/commit
inotify: only warn once for inotify problems
authorEric Paris <eparis@redhat.com>
Fri, 15 Jan 2010 17:12:25 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Jan 2010 23:17:56 +0000 (15:17 -0800)
commit800c02837ef72e60fd0d61ed3c791263d9d0dc36
tree263e3dc7f6bcf835f98b639951a03ddcf3329520
parentcec3ad600c2395d2d018332dadea9b2fe33e6169
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