--- "Francesco P. Lovergine" <[EMAIL PROTECTED]> wrote:

> Date: Sat, 9 Dec 2006 17:07:24 +0100
> From: "Francesco P. Lovergine" <[EMAIL PROTECTED]>
> To: ramana <[EMAIL PROTECTED]>
> CC: "Francesco P. Lovergine" <[EMAIL PROTECTED]>,
>       "Hanno G. Steinke" <[EMAIL PROTECTED]>
> Subject: Re: Autodir bug
> 
> Ok, as indeed obvious things are OK when building with the old header
> included, which is coherent with struct sizes used by the old autofs4
> 
> module.
> 
> Hanno, in order to compile, just include in src/ this file as
> auto_fs,h
> and use 
> 
> #include "auto_fs4.h"
> 
> instead of
> 
> #include <linux/auto_fs4.h>
> 
> whenever needed. It would be nice if you could confirm the hack ASAP.
> Due to strict timing in non-free section and etch release I need 
> to provide a new package FAST.
> 
> Ramana, I think you can simply diff the two files in order to find
> where your struct are thrashed by including the current header
> I sent before...
> 
> Cheers to all.
> 
> 
> 
> 
> /* -*- c-mode -*-
>  * linux/include/linux/auto_fs4.h
>  *
>  * Copyright 1999-2000 Jeremy Fitzhardinge <[EMAIL PROTECTED]>
>  *
>  * This file is part of the Linux kernel and is made available under
>  * the terms of the GNU General Public License, version 2, or at your
>  * option, any later version, incorporated herein by reference.
>  */
> 
> #ifndef _LINUX_AUTO_FS4_H
> #define _LINUX_AUTO_FS4_H
> 
> /* Include common v3 definitions */
> #include <linux/auto_fs.h>
> 
> /* autofs v4 definitions */
> #undef AUTOFS_PROTO_VERSION
> #define AUTOFS_PROTO_VERSION 4
> 
> #undef AUTOFS_MAX_PROTO_VERSION
> #define AUTOFS_MAX_PROTO_VERSION      AUTOFS_PROTO_VERSION
> 
> /* New message type */
> #define autofs_ptype_expire_multi     2       /* Expire entry (umount request)
> */
> 
> /* v4 multi expire (via pipe) */
> struct autofs_packet_expire_multi {
>       struct autofs_packet_hdr hdr;
>         autofs_wqt_t wait_queue_token;
>       int len;
>       char name[NAME_MAX+1];
> };
> 
> union autofs_packet_union {
>       struct autofs_packet_hdr hdr;
>       struct autofs_packet_missing missing;
>       struct autofs_packet_expire expire;
>       struct autofs_packet_expire_multi expire_multi;
> };
> 
> #define AUTOFS_IOC_EXPIRE_MULTI _IOW(0x93,0x66,int)
> 
> 
> #endif /* _LINUX_AUTO_FS4_H */
> 
> -- 
> Francesco P. Lovergine
> 



 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to