This is not correct. 2010/8/9 André Nogueira <andre.neo.net@xxxxxxxxx>: > The btree_get_extent function (in file disk-io.c) calls the > add_extent_mapping (in file extent_map.c). The add_extent_mapping > function can return two values: 0 or -EEXIST. It might return some other error values besides -EEXIST, the 'else if (ret)' branch is just against them. Namely, we should do some thing special when EEXIST, and do another things for all other errors. Regards, Zhu Yanhai -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
