lkml.org 
[lkml]   [2000]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [FIX] Re: IDE problem with 2.3.39pre2-2.3.41pre3 on Athlon system
Alexander Viro wrote:

> On Sat, 29 Jan 2000, Alexander Viro wrote:
>
> Oops ;-/ Got the patch mangled by MUA - sorry about that. Normal variant
> follows:
>
> --- linux-2.3.41/fs/block_dev.c Fri Jan 28 21:45:45 2000
> +++ linux-bird.bdev/fs/block_dev.c Sat Jan 29 05:05:02 2000
> @@ -573,6 +573,8 @@
> ret = bdev->bd_op->open(fake_inode, &fake_file);
> if (!ret)
> atomic_inc(&bdev->bd_openers);
> + else if (!atomic_read(&bdev->bd_openers))
> + bdev->bd_op = NULL;
> iput(fake_inode);
> }
> }
> @@ -593,6 +595,8 @@
> ret = bdev->bd_op->open(inode,filp);
> if (!ret)
> atomic_inc(&bdev->bd_openers);
> + else if (!atomic_read(&bdev->bd_openers))
> + bdev->bd_op = NULL;
> }
> up(&bdev->bd_sem);
> return ret;

This patch applied against 2.3.41 do NOT fix the problem for me :-(

Thanks,
Dieter

--
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Kölln-Straße 30
D-22527 Hamburg, Germany

email: nuetzel@kogs.informatik.uni-hamburg.de
@home: dieter.nuetzel@myokay.net




-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.069 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site