]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4a39f473a00298ab377e9a4f5dab71cc6885da8
tree29655ece93aa751f2f9ff98e21b840b5b80b91c0
parent426890510b8e5c9b7bc94b69e6645f8b8fb49a7e
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