Commit 17aca1c9 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: fix uninit variable in the delayed inode code

The nitems counter needs to start at zero
Signed-off-by: default avatarChris Mason <>
parent 1bc87793
......@@ -678,6 +678,7 @@ static int btrfs_batch_insert_items(struct btrfs_trans_handle *trans,
next = item;
nitems = 0;
* count the number of the continuous items that we can insert in batch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment