git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: fix uninit variable in the delayed inode code
[pandora-kernel.git]
/
fs
/
btrfs
/
delayed-inode.c
diff --git
a/fs/btrfs/delayed-inode.c
b/fs/btrfs/delayed-inode.c
index
b46d94d
..
c61c32c
100644
(file)
--- a/
fs/btrfs/delayed-inode.c
+++ b/
fs/btrfs/delayed-inode.c
@@
-678,6
+678,7
@@
static int btrfs_batch_insert_items(struct btrfs_trans_handle *trans,
INIT_LIST_HEAD(&head);
next = item;
+ nitems = 0;
/*
* count the number of the continuous items that we can insert in batch