* [PATCH] reiser BUG in 2.6.13-rc1
@ 2005-06-30 10:11 Jens Axboe
2005-06-30 17:42 ` Hans Reiser
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2005-06-30 10:11 UTC (permalink / raw)
To: linux-kernel, reiserfs-list
Hi,
Reiser is derefencing an uninitialized pointer, causing an oops on boot.
Signed-off-by: Jens Axboe <axboe@suse.de>
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -1053,10 +1053,9 @@ static void handle_barrier_mode(struct s
static void handle_attrs( struct super_block *s )
{
- struct reiserfs_super_block * rs;
+ struct reiserfs_super_block * rs = SB_DISK_SUPER_BLOCK (s);
if( reiserfs_attrs( s ) ) {
- rs = SB_DISK_SUPER_BLOCK (s);
if( old_format_only(s) ) {
reiserfs_warning(s, "reiserfs: cannot support attributes on 3.5.x disk format" );
REISERFS_SB(s) -> s_mount_opt &= ~ ( 1 << REISERFS_ATTRS );
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] reiser BUG in 2.6.13-rc1
2005-06-30 10:11 [PATCH] reiser BUG in 2.6.13-rc1 Jens Axboe
@ 2005-06-30 17:42 ` Hans Reiser
2005-06-30 18:49 ` Edward Shishkin
0 siblings, 1 reply; 3+ messages in thread
From: Hans Reiser @ 2005-06-30 17:42 UTC (permalink / raw)
To: Jens Axboe, Edward Shishkin; +Cc: linux-kernel, reiserfs-list, Andrew Morton
Jens Axboe wrote:
>Hi,
>
>Reiser is derefencing an uninitialized pointer, causing an oops on boot.
>
>Signed-off-by: Jens Axboe <axboe@suse.de>
>
>diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
>--- a/fs/reiserfs/super.c
>+++ b/fs/reiserfs/super.c
>@@ -1053,10 +1053,9 @@ static void handle_barrier_mode(struct s
>
> static void handle_attrs( struct super_block *s )
> {
>- struct reiserfs_super_block * rs;
>+ struct reiserfs_super_block * rs = SB_DISK_SUPER_BLOCK (s);
>
> if( reiserfs_attrs( s ) ) {
>- rs = SB_DISK_SUPER_BLOCK (s);
> if( old_format_only(s) ) {
> reiserfs_warning(s, "reiserfs: cannot support attributes on 3.5.x disk format" );
> REISERFS_SB(s) -> s_mount_opt &= ~ ( 1 << REISERFS_ATTRS );
>
>
>
Thanks Jens.
Edward, how is the fedora boot bug finding going? Is this it by any chance?
Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] reiser BUG in 2.6.13-rc1
2005-06-30 17:42 ` Hans Reiser
@ 2005-06-30 18:49 ` Edward Shishkin
0 siblings, 0 replies; 3+ messages in thread
From: Edward Shishkin @ 2005-06-30 18:49 UTC (permalink / raw)
To: Hans Reiser
Cc: Jens Axboe, linux-kernel, reiserfs-list, Andrew Morton,
Vladimir Saveliev
Hans Reiser wrote:
>Jens Axboe wrote:
>
>
>
>>Hi,
>>
>>Reiser is derefencing an uninitialized pointer, causing an oops on boot.
>>
>>Signed-off-by: Jens Axboe <axboe@suse.de>
>>
>>diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
>>--- a/fs/reiserfs/super.c
>>+++ b/fs/reiserfs/super.c
>>@@ -1053,10 +1053,9 @@ static void handle_barrier_mode(struct s
>>
>>static void handle_attrs( struct super_block *s )
>>{
>>- struct reiserfs_super_block * rs;
>>+ struct reiserfs_super_block * rs = SB_DISK_SUPER_BLOCK (s);
>>
>> if( reiserfs_attrs( s ) ) {
>>- rs = SB_DISK_SUPER_BLOCK (s);
>> if( old_format_only(s) ) {
>> reiserfs_warning(s, "reiserfs: cannot support attributes on 3.5.x disk format" );
>> REISERFS_SB(s) -> s_mount_opt &= ~ ( 1 << REISERFS_ATTRS );
>>
>>
>>
>>
>>
>Thanks Jens.
>
>Edward, how is the fedora boot bug finding going? Is this it by any chance?
>
>Hans
>
>
FC4-test3 with root on reiserfs has been successfully booted with
another miniinstall CD,
so it seems that something wrong in grub.
Unfortunately FC was installed on the workstation which currently is
used for
intensive benchmarking, so the following is still in todo-list:
- hacking grub
- investigating reiserfs+selinux
Thanks,
Edward.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-30 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 10:11 [PATCH] reiser BUG in 2.6.13-rc1 Jens Axboe
2005-06-30 17:42 ` Hans Reiser
2005-06-30 18:49 ` Edward Shishkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox