hpfs: remove the BKL
authorArnd Bergmann <arnd@arndb.de>
Sat, 22 Jan 2011 19:26:12 +0000 (20:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 2 Mar 2011 21:27:36 +0000 (22:27 +0100)
commit9a311b96c3065f362e3348cb5d7af1a57ca6bff9
treeaed281e9ff7c5e689895ff838e886dff77e3e2e9
parent5edc341313a188d94cde7ef87ac31647cea8601a
hpfs: remove the BKL

This removes the BKL in hpfs in a rather awful
way, by making the code only work on uniprocessor
systems without kernel preemption, as suggested
by Andi Kleen.

The HPFS code probably has close to zero remaining
users on current kernels, all archeological uses of
the file system can probably be done with the significant
restrictions.

The hpfs_lock/hpfs_unlock functions are left in the
code, sincen Mikulas has indicated that he is still
interested in fixing it in a better way.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: linux-fsdevel@vger.kernel.org
fs/hpfs/Kconfig
fs/hpfs/dir.c
fs/hpfs/file.c
fs/hpfs/hpfs_fn.h
fs/hpfs/inode.c
fs/hpfs/namei.c
fs/hpfs/super.c