commit | 3326c1ceee234e63160852720d48be8a8f7a6d08 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@relay.de.ibm.com> | Tue Mar 23 19:09:33 2010 +0100 |
committer | Frederic Weisbecker <fweisbec@gmail.com> | Sun Apr 04 15:27:58 2010 +0200 |
tree | 18aa2c9ebe2985c558e61c778f7a1e6cd8ab6393 | |
parent | 6cc8a7c1d8560c042f486b23318a6291569ab96b [diff] |
perf_event: Make perf fd non seekable Perf_event does not need seeking, so prevent it in order to get rid of default_llseek, which uses the BKL. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> [drop the nonseekable_open, not needed for anon inodes] Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>