Displaying 1 result from an estimated 1 matches for "tree_entry".
Did you mean:
free_entry
2007 Nov 06
0
[PATCH] check return value in extent map allocation
...function is checked at inode
space allocation time though, so my patch decides to quit early on if the alloc
fails.
Thanks,
Wyatt Banks
diff -r 29b8cc7794ac extent_map.c
--- a/extent_map.c Thu Sep 20 14:14:42 2007 -0400
+++ b/extent_map.c Tue Nov 06 19:06:04 2007 -0500
@@ -36,16 +36,23 @@ struct tree_entry {
#define EXTENT_IOBITS (EXTENT_LOCKED | EXTENT_WRITEBACK)
-void __init extent_map_init(void)
+int __init extent_map_init(void)
{
extent_map_cache = btrfs_cache_create("extent_map",
sizeof(struct extent_map),
SLAB_DESTROY_BY_RCU,
NULL);
+ if (!extent_map...