autofs4: Fix wait validation
authorIan Kent <raven@themaw.net>
Fri, 14 Jan 2011 18:46:30 +0000 (18:46 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jan 2011 01:07:43 +0000 (20:07 -0500)
commit9e3fea16ba386fa549a0b2de8a203e5d412997a0
tree88ee7f612240f8e33cc57d07a011a07db6280804
parent6651149371b842715906311b4631b8489cebf7e8
autofs4: Fix wait validation

It is possible for the check in wait.c:validate_request() to return
an incorrect result if the dentry that was mounted upon has changed
during the callback.

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