sb_bread & bforget

From: Joshua Hudson
Date: Mon Feb 13 2006 - 18:01:28 EST


New filesystem is using BTrees for directories. An update will touch
multiple blocks, loaded into buffer_head structures with sb_bread.

If update fails (only possible causes are read error & disk full), is it
kosher to call bforget on all modified buffer_head structures, or
does that have some unintended consequences?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/