public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Btrfs: fix comipler warning with tree_search
@ 2009-12-07  1:35 Li Dongyang
  0 siblings, 0 replies; only message in thread
From: Li Dongyang @ 2009-12-07  1:35 UTC (permalink / raw)
  To: chris.mason; +Cc: linux-btrfs

fix comipler warning with tree_search

Signed-off-by: Li Dongyang <Jerry87905@gmail.com>
---
 fs/btrfs/ordered-data.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c
index ab21c29..8877fa0 100644
--- a/fs/btrfs/ordered-data.c
+++ b/fs/btrfs/ordered-data.c
@@ -133,7 +133,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 *prev = NULL;
 	struct rb_node *ret;
 	struct btrfs_ordered_extent *entry;
 
-- 
1.6.5.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-07  1:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07  1:35 [PATCH] Btrfs: fix comipler warning with tree_search Li Dongyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox