]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a4aa9f4d0184d8420bfecb919773121471533bc
tree88ee7f612240f8e33cc57d07a011a07db6280804
parentcb61d5fd1a7e15f38bae92d01c3a1b643d99a382
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