autofs4 - fix dentry leak in autofs4_expire_direct()
authorIan Kent <raven@themaw.net>
Thu, 24 Mar 2011 17:51:14 +0000 (01:51 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Mar 2011 18:54:34 +0000 (14:54 -0400)
commitf9398c233e3201874395eea8558eb616fb198648
treeadf805206a5bba08a44878dba61256a9dca6120d
parent3c3199852905ceb90a70e98777e71d369a5f0823
autofs4 - fix dentry leak in autofs4_expire_direct()

There is a missing dput() when returning from autofs4_expire_direct()
when we see that the dentry is already a pending mount.

Signed-off-by: Ian Kent <raven@themaw.net>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/autofs4/expire.c