summaryrefslogtreecommitdiffstats
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2008-07-23 21:30:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:32 -0700
commit70b52a0a5005ce6a0ceec56e97222437a0ba7506 (patch)
treee2b45dff98eae948dd34d4cc36f54796bd01104f /fs/autofs4/autofs_i.h
parent6d5cb926fa0162b1e62f37c117cc7ce763cfcbb9 (diff)
downloadop-kernel-dev-70b52a0a5005ce6a0ceec56e97222437a0ba7506.zip
op-kernel-dev-70b52a0a5005ce6a0ceec56e97222437a0ba7506.tar.gz
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>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r--fs/autofs4/autofs_i.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
index 2dce233..da8882f 100644
--- a/fs/autofs4/autofs_i.h
+++ b/fs/autofs4/autofs_i.h
@@ -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;
OpenPOWER on IntegriCloud