Looking at your post, it just occurred to me, we should change all our
breads from:

        if (!(buffer = bread(inode->map, block)))
                return -EIO;

to something like:

        if (!(buffer = blockread(inode->map, block, &err)))
                return err;

This way we can stop propagating the traditional silliness of inventing
our own error code when bread returns NULL.  Our motto: "Tux3, we are
not part of the problem".

Regards,

Daniel

_______________________________________________
Tux3 mailing list
[email protected]
http://tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to