[klibc] [PATCH] fix root on nfs
Olaf Hering
olh at suse.de
Sat Aug 14 17:29:10 PDT 2004
On Sat, Aug 14, Olaf Hering wrote:
> On Mon, May 24, Olaf Hering wrote:
>
> >
> > this patch fixes root on nfs for me.
>
> Is there a reason why you did not apply this one?
hmm, only the mount part is missing.
> > diff -p -ppurN klibc-0.116/nfsmount/mount.c klibc-0.116.nfsmount/nfsmount/mount.c
> > --- klibc-0.116/nfsmount/mount.c 2003-05-06 00:15:09.000000000 +0200
> > +++ klibc-0.116.nfsmount/nfsmount/mount.c 2004-05-24 18:52:35.000000000 +0200
> > @@ -77,9 +77,7 @@ static void get_ports(__u32 server, cons
> >
> > static inline int pad_len(int len)
> > {
> > - if (len % 8)
> > - return (len & 7) + 8;
> > - return len;
> > + return (len + 3) & ~3;
> > }
> >
> > static inline void dump_params(__u32 server,
> >
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
More information about the klibc
mailing list