]> git.baikalelectronics.ru Git - kernel.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)
commita10eda6d3e2f8dabca0be2cb3afac5bd68b4d2a4
treeaac835759ef7bf8317847f467c0c0685827da38e
parent008a809c1876b772916100e73b1af144d2c29802
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