Messages in this thread | | | Date | Sat, 8 Jan 2000 17:45:26 -0500 (EST) | From | Alexander Viro <> | Subject | Re: 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/
| |