diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 2a4c25c4681da5fac6f61edc848ce45ee2e42218..116ff68c5bd4337b7cb751330d091fcab24eecba 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -1398,6 +1398,7 @@ static struct buffer_head * ext4_find_entry (struct inode *dir, goto cleanup_and_exit; dxtrace(printk(KERN_DEBUG "ext4_find_entry: dx failed, " "falling back\n")); + ret = NULL; } nblocks = dir->i_size >> EXT4_BLOCK_SIZE_BITS(sb); if (!nblocks) {