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>
This commit is contained in:

committed by
Arnd Bergmann

parent
22b26db6f8
commit
d6d4c19c5f
@@ -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() */
|
||||
|
Reference in New Issue
Block a user