diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-01-31 19:54:59 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-31 20:33:37 -0500 |
commit | c87fb6fdcaf7560940b31a0c78c3e6370e3433cf (patch) | |
tree | 2a3282ae70ca1da55281bba13e6a1f7216e49d3b /fs/btrfs/ordered-data.c | |
parent | b31eabd86eb68d3c217e6821078249bc045e698a (diff) | |
download | op-kernel-dev-c87fb6fdcaf7560940b31a0c78c3e6370e3433cf.zip op-kernel-dev-c87fb6fdcaf7560940b31a0c78c3e6370e3433cf.tar.gz |
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
-rw-r--r-- | 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 2b61e1d..083a554 100644 --- 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; |