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/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:13 EST