> > + ep2->stream_valid_size = cpu_to_le64(on_disk_size); > > + ep2->stream_size = ep2->stream_valid_size; > > + > > + ret = exfat_update_dir_chksum_with_entry_set(sb, es, sync); > > + kfree(es); > > The exfat_get_dentry_set() allocates the es by kmalloc? Am I correct? Yes. > > > > + return ret; > > +} > > +