the diference between my an  Johannes Hirte's patch is:

/fs/reiser4/plugins/item/item.h

<       ssize_t (*write) (struct file *, const char __user *, size_t, loff_t 
*pos);
---
>       int (*write) (struct file *, const char __user *, size_t, loff_t 
*pos);
*********************************************************

/fs/reiser4/super_ops.c

290c290
< static int reiser4_statfs(struct dentry *dentry, struct kstatfs *statfs)
---
> static int reiser4_statfs(struct super_block *super, struct kstatfs *statfs)
292,293d291
<       struct super_block *super = dentry->d_sb;
<
571a570,571
>
> // alterado
575,576c575
<                                         void *data,
<                                         struct vfsmount *mnt)
---
>                                         void *data, struct vfsmount *mnt)
582c581,582
< static struct file_system_type reiser4_fs_type = {
---
> // alterado
> struct file_system_type reiser4_fs_type = {
*********************************************************

i change my super_ops.c but why you alter te int to ssize_t on item.h?

()'s

Em Sexta 10 Novembro 2006 09:57, Guilherme Covolo escreveu:
> Em Sexta 10 Novembro 2006 09:44, Johannes Hirte escreveu:
> > Am Freitag, 10. November 2006 00:39 schrieb [EMAIL PROTECTED]:
> > > thanks for answer! :)
> > >
> > > so, the patch compiles fine (one warning in super_ops.c), the FS boot
> > > correctly, but if i execute for exemple startx, kernel panic! i compile
> > > reiser4 built in with debug, i will send the error (kernel panic) to
> > > the list tomorow because i'm now in my house, and the experinet is on
> > > my work computer :)
> >
> > I didn't look closer on your patch, but you shouldn't get a warning in
> > super_ops.c. Which compiler do you use?
> > Can you try the patch, I've made?
> > http://www.stud.tu-ilmenau.de/~johi-in/patch-reiser4-2.6.18.bz2
>
> Hello,
>
> i use gcc 3.4.6 on slamd64 (www.slamd64.com), x86_64.
>
> i will try your patch :)
>
> i'm on-line now on irc.oftc.net nick smyows #reiser4 and my nootebook is on
> [EMAIL PROTECTED] ...
>
> error from boot today..
>
> reiser4 panicked cowaedly: reiser4[mount(1909)]: check_blocks_bitmap
> (fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed:
> reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset,
> start_offset) >= end_offset
>
> Kernel panic - not syncing: reiser4[mount(1909)]: check_blocks_bitmap
> (fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed:
> reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset,
> start_offset) >= end_offset
>
> ...
>
> yesterday give some error but in /fs/reiser4/context.c line 79
>
> i reboot the computer and works now.
>
> i'll compare the super_ops.c :)
>
> thaks

Reply via email to