]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
inotify: remove debug code
authorNick Piggin <npiggin@suse.de>
Tue, 25 Mar 2008 12:48:18 +0000 (13:48 +0100)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:20 +0000 (18:53 -0700)
commit3d6fec02c6a996f658bdaa6a1da381f9b72da032
treec6f92fdb0870d7c80ae9a6e58da72b2c22f8fae1
parent4193242f7ca7c2626b440fe4e9dda57f2bcf0baa
inotify: remove debug code

upstream commit: 0d71bd5993b630a989d15adc2562a9ffe41cd26d

The inotify debugging code is supposed to verify that the
DCACHE_INOTIFY_PARENT_WATCHED scalability optimisation does not result in
notifications getting lost nor extra needless locking generated.

Unfortunately there are also some races in the debugging code.  And it isn't
very good at finding problems anyway.  So remove it for now.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Robert Love <rlove@google.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Cc: Jan Kara <jack@ucw.cz>
Cc: Yan Zheng <yanzheng@21cn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christian Lamparter <chunkeey@web.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/dcache.c
fs/inotify.c