autofs4: use struct qstr in waitq.c

The autofs_wait_queue already contains all of the fields of the
struct qstr, so change it into a qstr.

This patch, from Jeff Moyer, has been modified a liitle by myself.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jeff Moyer
2008-07-23 21:30:16 -07:00
committed by Linus Torvalds
parent 6d5cb926fa
commit 70b52a0a50
2 changed files with 46 additions and 44 deletions

View File

@@ -75,9 +75,7 @@ struct autofs_wait_queue {
struct autofs_wait_queue *next;
autofs_wqt_t wait_queue_token;
/* We use the following to see what we are waiting for */
unsigned int hash;
unsigned int len;
char *name;
struct qstr name;
u32 dev;
u64 ino;
uid_t uid;