]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
autofs4 - remove ioctl mutex (bz23142)
authorIan Kent <raven@themaw.net>
Tue, 7 Dec 2010 05:04:00 +0000 (13:04 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Dec 2010 15:45:44 +0000 (07:45 -0800)
commitde47de7404e29df8de82f5822b4fde1a6ed97b54
treeaac835759ef7bf8317847f467c0c0685827da38e
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
autofs4 - remove ioctl mutex (bz23142)

With the recent changes to remove the BKL a mutex was added to the
ioctl entry point for calls to the old ioctl interface. This mutex
needs to be removed because of the need for the expire ioctl to call
back to the daemon to perform a umount and receive a completion
status (via another ioctl).

This should be fine as the new ioctl interface uses much of the same
code and it has been used without a mutex for around a year without
issue, as was the original intention.

Ref: Bugzilla bug 23142

Signed-off-by: Ian Kent <raven@themaw.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c