]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
kill-the-bkl/reiserfs: always lock the ioctl path
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Oct 2009 21:08:43 +0000 (23:08 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Oct 2009 21:27:57 +0000 (23:27 +0200)
commitac78a07893d24d95ff5f39d0433c25210f224f07
treeac48d2a828ef6daa62d5f5373cc14ba658b2a945
parent48f6ba5e691948caba2e7bc362153fb28e4f1e09
kill-the-bkl/reiserfs: always lock the ioctl path

Reiserfs uses the ioctl callback for its file operations, which means
that its ioctl path is still locked by the bkl, this was synchronizing
with the rest of the filsystem operations. We have changed that by
locking it with the new reiserfs lock but we do that only from the
compat_ioctl callback.

Fix that by locking reiserfs_ioctl() everytime.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Laurent Riffard <laurent.riffard@free.fr>
Cc: Thomas Gleixner <tglx@linutronix.de>
fs/reiserfs/ioctl.c