projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b31eabd
)
Btrfs: avoid uninit variable warnings in ordered-data.c
author
Chris Mason
<chris.mason@oracle.com>
Tue, 1 Feb 2011 00:54:59 +0000
(19:54 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Tue, 1 Feb 2011 01:33:37 +0000
(20:33 -0500)
This one isn't really an uninit variable, but for pretty
obscure reasons. Let's make it clearly correct.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ordered-data.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ordered-data.c
b/fs/btrfs/ordered-data.c
index 2b61e1ddcd996cbefd5f0e67093c61a2e2f9d19f..083a55477375c7c6b2c83e68fbbb642d4176ae3e 100644
(file)
--- a/
fs/btrfs/ordered-data.c
+++ b/
fs/btrfs/ordered-data.c
@@
-141,7
+141,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;