From: Al Viro Date: Wed, 26 May 2010 21:40:29 +0000 (-0400) Subject: Fix racy use of anon_inode_getfd() in perf_event.c X-Git-Tag: v2.6.35-rc1~27^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea635c64e007061f6468ece5cc9cc62d41d4ecf2;p=pandora-kernel.git Fix racy use of anon_inode_getfd() in perf_event.c once anon_inode_getfd() is called, you can't expect *anything* about struct file that descriptor points to - another thread might be doing whatever it likes with descriptor table at that point. Cc: stable Signed-off-by: Al Viro --- Reading git-diff-tree failed