: Fix warning in tree_search()
diff mbox

Message ID 20100524151136.6797.38612.sendpatchset@prarit.bos.redhat.com
State New, archived
Headers show

Commit Message

Prarit Bhargava May 24, 2010, 3:16 p.m. UTC
None

Patch
diff mbox

diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c
index a127c0e..7638f3c 100644
--- a/fs/btrfs/ordered-data.c
+++ b/fs/btrfs/ordered-data.c
@@ -132,7 +132,7 @@  static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree,
 					  u64 file_offset)
 {
 	struct rb_root *root = &tree->tree;
-	struct rb_node *prev;
+	struct rb_node *uninitialized_var(prev);
 	struct rb_node *ret;
 	struct btrfs_ordered_extent *entry;