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 <[EMAIL PROTECTED]>

--- 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];
 };
 

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to