From: Al Viro Date: Mon, 12 Nov 2012 06:19:02 +0000 (-0500) Subject: kill bogus BUG_ON() in do_close_on_exec() X-Git-Tag: v3.7-rc7~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a8477660d9ddc090203736d7271137265cb25bb;p=pandora-kernel.git kill bogus BUG_ON() in do_close_on_exec() It can be legitimately triggered via procfs access. Now, at least 2 of 3 of get_files_struct() callers in procfs are useless, but when and if we get rid of those we can always add WARN_ON() here. BUG_ON() at that spot is simply wrong. Signed-off-by: Al Viro --- Reading git-diff-tree failed