>>>>> " " == Trond Myklebust <[EMAIL PROTECTED]> writes: > - if (file->f_handle.fh_dcookie == fh->fh_dcookie && > - !memcmp(&file->f_handle, fh, sizeof(*fh))) > + if (file->f_handle.fh_dcookie == fh.fh_dcookie && > + !memcmp(&file->f_handle, &fh, sizeof(fh))) > goto found; Come to think of it, this line looks pretty insane. Why on earth are we testing fh_dcookie twice? I suspect that just the elimination of the redundant comparison in the above line would eliminate Russell's problem entirely, given that it's the only place in the entire routine where we actually reference fh->fh_base.fb_dentry. In all other cases, we're referencing ordinary integers. Are there any alignment requirements on them? Cheers, Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Compatibility issue with 2... Russell King
- Re: Compatibility issue with 2.2.19pre7 Richard Henderson
- Re: Compatibility issue with 2.2.1... Andrea Arcangeli
- Re: Compatibility issue with 2... Richard Henderson
- Re: Compatibility issue with 2... Andrea Arcangeli
- Re: Compatibility issue with 2... Richard Henderson
- Re: Compatibility issue with 2... Thomas Pornin
- Re: Compatibility issue with 2.2.19pre7 Trond Myklebust
- Re: Compatibility issue with 2.2.19pre7 Manfred Spraul
- Re: Compatibility issue with 2.2.19pre7 Trond Myklebust
- Re: Compatibility issue with 2.2.1... Trond Myklebust
- Re: Compatibility issue with 2... Andrea Arcangeli
- Re: Compatibility issue with 2... Andrea Arcangeli
- Re: Compatibility issue with 2... Trond Myklebust
- Re: Compatibility issue with 2... Russell King
- Re: Compatibility issue with 2.2.19pre7 Trond Myklebust
- Re: Compatibility issue with 2.2.19pre7 Jesse Pollard