These two lines are needless, remove them.
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 37d43b5..ebe6b29 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -415,8 +415,6 @@ static int split_state(struct
.
}
fail:
btrfs_close_devices(fs_info-fs_devices);// !
btrfs_mapping_tree_free(fs_info-mapping_tree);// !
kfree(extent_root);
kfree(tree_root);
bdi_destroy(fs_info-bdi);// !
...
)
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff
On Fri, Jan 16, 2009 at 3:25 PM, Qinghuang Feng qhfeng.ker...@gmail.com wrote:
merge list_for_each and list_entry to list_for_each_entry.
Please ignore this patch, I will resend a patch to cleanup all the
similar codes in btrfs.
--
To unsubscribe from this list: send the line unsubscribe linux
Merge list_for_each* and list_entry to list_for_each_entry*
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 81a3138..aedfcec 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1136,7 +1136,6 @@ static int
merge list_for_each and list_entry to list_for_each_entry.
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index b187b53..70f0248 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -104,10 +104,8 @@ static noinline struct
There functions are only called by 'static int __init init_btrfs_fs(void)',
so also mark them as '__init'.
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index eee060f..7e03ec8 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
Use the standard magic.h for btrfs and squashfs.
Signed-off-by: Qinghuang Feng qhfeng.ker...@gmail.com
---
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 0a14b49..7256cf2 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -38,6 +38,7 @@
#include linux/namei.h
#include linux