commit | ab91261f5c43f196ec7ff1d113847b87b7606b26 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Wed Jul 07 22:55:17 2010 +0200 |
committer | Arnd Bergmann <arnd@arndb.de> | Fri Oct 15 15:53:34 2010 +0200 |
tree | ba368bdd2156e3e6671be4bc1c0933fa5fad51b9 | |
parent | 6038f373a3dc1f1c26496e60b6c40b164716f07e [diff] |
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: Arnd Bergmann <arnd@arndb.de>