Whamcloud - gitweb
ext2fs_block_iterate2: Reflect errors from ext2fs_extent_set_bmap to caller
authorTheodore Ts'o <tytso@mit.edu>
Mon, 19 Jan 2009 19:22:52 +0000 (14:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Jan 2009 19:29:08 +0000 (14:29 -0500)
commitd3a8fc5ae68477118e32813230518bf4ccc73bf9
tree63ec1d3a61c100be8acd81e45cda73ff4bd13cb3
parent9227c5bbbd0861878ae73f7dceb4deb9e9f06a3c
ext2fs_block_iterate2: Reflect errors from ext2fs_extent_set_bmap to caller

If the callback function tries to change a block, and
ext2fs_extent_set_bmap() fails for some reason (for example, there
isn't enough disk space to split a node and expand the extent tree,
make sure that error is reflected back up to the caller.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/block.c