diff --git a/fs/exfat/dir.c b/fs/exfat/dir.c index 7446bf09a..6ec543f1b 100644 --- a/fs/exfat/dir.c +++ b/fs/exfat/dir.c @@ -791,6 +791,7 @@ static int __exfat_get_dentry_set(struct exfat_entry_set_cache *es, es->modified = false; es->start_off = off; es->bh = es->__bh; + memset(es->__bh, 0, sizeof(es->__bh)); bh = sb_bread(sb, sec); if (!bh)