lkml.org 
[lkml]   [2000]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: oops 2.3.3[7,8] floppy mount/umount


On Sat, 8 Jan 2000, Peter Denison wrote:

> It seems that we're getting to floppy_release() with filp = 0, and falling
> over at the line: drivers/block/floppy.c:3634
> block_fsync(filp, filp->f_dentry);
>
> Because at fs/block_dev.c:615, in blkdev_put() we're called as
> ret = bdev->bd_op->release(fake_inode, NULL);
>
> Question is, can we just ignore the fact, and wrap the block_fsync() in
> floppy_release() with an if (filp) {...} ? Or is it more involved? I'm
> also worried by the bit in blkdev_put that says:

Not. The right fix will be just to move syncing into blkdev_put(). It will
go RSN.


-
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:55    [W:0.036 / U:1.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site