summaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorAl Viro2013-09-14 23:32:12 +0200
committerAl Viro2013-09-17 01:16:38 +0200
commit606035e76e79b14bf7a7c219140c045a952cc76e (patch)
tree43958ffa5278f8ba9d1d6a8884087b196952e94a /fs/open.c
parentMerge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-qcow2-linux-606035e76e79b14bf7a7c219140c045a952cc76e.tar.gz
kernel-qcow2-linux-606035e76e79b14bf7a7c219140c045a952cc76e.tar.xz
kernel-qcow2-linux-606035e76e79b14bf7a7c219140c045a952cc76e.zip
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>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions