diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext3/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 4fafef3c511..ef05ecef0d9 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c @@ -516,6 +516,7 @@ static int ext3_alloc_branch(handle_t *handle, struct inode *inode, branch[0].key = cpu_to_le32(parent); if (parent) { + keys = 1; for (n = 1; n < num; n++) { struct buffer_head *bh; /* Allocate the next block */ |