Skip to content
Commit ab91261f authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

vfs: don't use BKL in default_llseek



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: default avatarArnd Bergmann <arnd@arndb.de>
parent 6038f373
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment