提交 c87fb6fd 编写于 作者: C Chris Mason

Btrfs: avoid uninit variable warnings in ordered-data.c

This one isn't really an uninit variable, but for pretty
obscure reasons.  Let's make it clearly correct.
Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 b31eabd8
...@@ -141,7 +141,7 @@ static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree, ...@@ -141,7 +141,7 @@ static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree,
u64 file_offset) u64 file_offset)
{ {
struct rb_root *root = &tree->tree; struct rb_root *root = &tree->tree;
struct rb_node *prev; struct rb_node *prev = NULL;
struct rb_node *ret; struct rb_node *ret;
struct btrfs_ordered_extent *entry; struct btrfs_ordered_extent *entry;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册