[Tux3] Bug? Atom refcounting redux

Daniel Phillips phillips at phunq.net
Mon Dec 1 21:04:40 PST 2008


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
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list