procfs: Kill BKL in llseek on proc base
authorArnd Bergmann <arnd@arndb.de>
Wed, 17 Mar 2010 22:06:02 +0000 (23:06 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 9 Apr 2010 14:29:12 +0000 (16:29 +0200)
commit87df842410ce5a86fdca9fbec0dba80d2aa88b6f
treee8d311184e8f2695a961935882ad5269724fce04
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6
procfs: Kill BKL in llseek on proc base

We don't use the BKL elsewhere, so use generic_file_llseek
so we can avoid default_llseek taking the BKL.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[restore proc_fdinfo_file_operations as non-seekable]
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: John Kacur <jkacur@redhat.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
fs/proc/base.c