summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/ioctl.c
diff options
context:
space:
mode:
authorJan Blunck <jblunck@infradead.org>2010-02-24 13:25:32 +0100
committerArnd Bergmann <arnd@arndb.de>2010-10-04 21:10:41 +0200
commitd6d4c19c5f9ac5972e30e89b3c81ad1fd6e11fee (patch)
treee2f2e8204e0ff1f7af40aacbf50ee5fbbaa14030 /fs/nilfs2/ioctl.c
parent22b26db6f82bfa9a7f2b44443af3b5541927a130 (diff)
downloadtalos-op-linux-d6d4c19c5f9ac5972e30e89b3c81ad1fd6e11fee.tar.gz
talos-op-linux-d6d4c19c5f9ac5972e30e89b3c81ad1fd6e11fee.zip
BKL: Remove BKL from NILFS2
The BKL is only used in put_super, fill_super and remount_fs that are all three protected by the superblocks s_umount rw_semaphore. Therefore it is safe to remove the BKL entirely. Signed-off-by: Jan Blunck <jblunck@infradead.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'fs/nilfs2/ioctl.c')
-rw-r--r--fs/nilfs2/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index f90a33d9a5b0..0442ee3b394f 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
@@ -22,7 +22,6 @@
#include <linux/fs.h>
#include <linux/wait.h>
-#include <linux/smp_lock.h> /* lock_kernel(), unlock_kernel() */
#include <linux/slab.h>
#include <linux/capability.h> /* capable() */
#include <linux/uaccess.h> /* copy_from_user(), copy_to_user() */
OpenPOWER on IntegriCloud