OpenCloudOS-Kernel/fs/autofs4
Al Viro 606035e76e autofs4: close the races around autofs4_notify_daemon()
Don't drop ->wq_mutex before calling autofs4_notify_daemon() only to regain it
there.  Besides being pointless, that opens a race window where autofs4_wait_release()
could've come and freed wq->name.name.  And do the debugging printk in the "reused an
existing wq" case before dropping ->wq_mutex - the same reason...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Ian Kent <raven@themaw.net>
2013-09-16 19:16:38 -04:00
..
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
autofs_i.h new helper: file_inode(file) 2013-02-22 23:31:31 -05:00
dev-ioctl.c autofs4 - fix device ioctl mount lookup 2013-09-08 22:07:47 -04:00
expire.c helper for reading ->d_count 2013-07-05 18:59:33 +04:00
init.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
inode.c userns: Support autofs4 interacing with multiple user namespaces 2012-11-14 22:05:32 -08:00
root.c helper for reading ->d_count 2013-07-05 18:59:33 +04:00
symlink.c autofs4: keep symlink body in inode->i_private 2011-01-18 01:21:27 -05:00
waitq.c autofs4: close the races around autofs4_notify_daemon() 2013-09-16 19:16:38 -04:00