diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 8f4fddac01a679456c8ef867d0a2e33f6592cbee..7f6c9384ee72b6a1ce6dc9ff78ea5a685bcf83da 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c @@ -559,7 +559,7 @@ static int htree_dirblock_to_tree(struct file *dir_file, { struct buffer_head *bh; struct ext3_dir_entry_2 *de, *top; - int err, count = 0; + int err = 0, count = 0; dxtrace(printk("In htree dirblock_to_tree: block %d\n", block)); if (!(bh = ext3_bread (NULL, dir, block, 0, &err)))