resierfs and ac14 compile errors

From: Rolf Martin-Hoster (winmutt@hotmail.com)
Date: Sun Jun 11 2000 - 20:55:33 EST


Untarred kernel source, applied ac14 patch, applied reiserfs patch. Applied
the
>
>It is now an atomic_t
>
> atomic_inc(&inode->i_count)
>
hand patch mentioned by ac after compile errors in namei.o. Now I get this
output:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o file.o file.c
file.c: In function `reiserfs_file_release':
file.c:41: invalid operands to binary !=
file.c: At top level:
file.c:133: warning: initialization from incompatible pointer type
make[3]: *** [file.o] Error 1
make[3]: Leaving directory `/usr/src/linux/fs/reiserfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/fs/reiserfs'
make[1]: *** [_subdir_reiserfs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_dir_fs] Error 2

>
>Alan Cox wrote:
> >
> > > namei.c:925: wrong type argument to increment
> > > make[3]: *** [namei.o] Error 1
> > > make[3]: Leaving directory `/usr/src/linux/fs/reiserfs'
> > > make[2]: *** [first_rule] Error 2
> > > make[2]: Leaving directory `/usr/src/linux/fs/reiserfs'
> > > make[1]: *** [_subdir_reiserfs] Error 2
> > > make[1]: Leaving directory `/usr/src/linux/fs'
> > > make: *** [_dir_fs] Error 2
> > > Command exited with non-zero status 2
> > > ===================================================
> > >
> > > inode->i_count++;
> >
> > It is now an atomic_t
> >
> > atomic_inc(&inode->i_count)
> >
> > ac13 has some 'features' so you may want to wait while those get stomped
>first.
> >
> > Alan
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel"
>in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
>
>We'll address this with a patch. Thanks Alan.
>
>Yura, this is your todo.
>
>Hans
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.rutgers.edu
>Please read the FAQ at http://www.tux.org/lkml/

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:24 EST