vfs: don't use BKL in default_llseek
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Jul 2010 20:55:17 +0000 (22:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Oct 2010 13:53:34 +0000 (15:53 +0200)
There are currently 191 users of default_llseek.
Nine of these are in device drivers that use the
big kernel lock. None of these ever touch
file->f_pos outside of llseek or file_pos_write.

Consequently, we never rely on the BKL
in the default_llseek function and can
replace that with i_mutex, which is also
used in generic_file_llseek.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/read_write.c

diff --cc fs/read_write.c
Simple merge