Displaying 2 results from an estimated 2 matches for "29b8cc7794ac".
2007 Nov 06
0
[PATCH] check return value in extent map allocation
...e nobody minds if I just
jump in and start sending some patches. The return of extent_map_init is not
checked at module startup. The net effect of this 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_ca...
2007 Sep 23
0
[patch]fix get_bh and brelse issues when drop snapshot
...gt;node's usage count is
increased in btrfs_search_slot. Therefore, the get_bh in the body of
while loop is redundant in most cases. (this change is in accordance
with btrfs_defrag_leaves).
The second change is decrease root->node's usage count when drop a snapshot.
Regards
YZ
diff -r 29b8cc7794ac extent-tree.c
--- a/extent-tree.c Thu Sep 20 14:14:42 2007 -0400
+++ b/extent-tree.c Sun Sep 23 12:35:00 2007 +0800
@@ -1483,6 +1483,7 @@ int btrfs_drop_snapshot(struct btrfs_tra
level = btrfs_header_level(btrfs_buffer_header(root->node));
orig_level = level;
if (btrfs_disk_key_objectid(&a...