Messages in this thread | | | Date | Tue, 01 Feb 2000 19:31:03 +0100 | From | Dieter Nützel <> | Subject | Re: [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/
| |