linux/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
..
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
Kconfig
Makefile
root.c helper for reading ->d_count 2013-07-05 18:59:33 +04:00
symlink.c
waitq.c autofs4: close the races around autofs4_notify_daemon() 2013-09-16 19:16:38 -04:00