lkml.org 
[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 22 Feb 2006 16:43:26 +0800 (WST)
FromIan Kent <>
Subject[PATCH] autofs4 - second try - set fields size for pipe packet
I have made almost all the changes recommended by Christoph.

I'm reluctant to change the type of autofs_wqt_t as it is part of the 
existing autofs4 struture. While such a change shouldn't cause a problem 
I'd rather not change what's been there for a long time just in case there 
are unexpected side effects.

Signed-off-by: Ian Kent <raven@themaw.net>

--- linux-2.6.16-rc4-mm1/include/linux/auto_fs4.h.set-fields-size-for-packet	2006-02-22 16:07:57.000000000 +0800
+++ linux-2.6.16-rc4-mm1/include/linux/auto_fs4.h	2006-02-22 16:08:29.000000000 +0800
@@ -65,11 +65,11 @@ struct autofs_v5_packet {
 	autofs_wqt_t wait_queue_token;
 	__u32 dev;
 	__u64 ino;
-	uid_t uid;
-	gid_t gid;
-	pid_t pid;
-	pid_t tgid;
-	int len;
+	__u32 uid;
+	__u32 gid;
+	__u32 pid;
+	__u32 tgid;
+	__u32 len;
 	char name[NAME_MAX+1];
 };
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-22 09:46    [from the cache]
©2003-2008