BKL: Remove BKL from fat
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Sep 2010 21:07:27 +0000 (23:07 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 4 Oct 2010 19:10:45 +0000 (21:10 +0200)
commit3768744cfea7b995dce27f02341161fbfdfee80c
tree29655ece93aa751f2f9ff98e21b840b5b80b91c0
parent3e44f9f1dc19e2b8d4f7ca3b3c63e976b22ad372
BKL: Remove BKL from fat

The lock_kernel in fat_put_super is not needed because
it only protects the super block itself and we know that
no other thread can reach it because we are about to
kfree the object.

In the two fill_super functions, this converts the locking
to use lock_super like elsewhere in the fat code. This
is probably not needed either, but is consistent and puts
us on the safe side.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Jan Blunck <jblunck@infradead.org>
fs/fat/inode.c
fs/fat/namei_msdos.c
fs/fat/namei_vfat.c