dorimanx / exfat-nofuse

Android ARM Linux non-fuse read/write kernel driver for exFat and VFat Android file systems
GNU General Public License v2.0
707 stars 326 forks source link

Is global variable "name_buf" in exfat_core.c works well for tow disks? #125

Open kongxin19801223 opened 6 years ago

kongxin19801223 commented 6 years ago

Hi All, I'm using exfat.ko and I found that if files are create simultaneously on different disks the created file name will be sometimes error. So I checked the source and found there's a global buffer in exfat_core.c and I guess this lead to the above error. To settle this, I want to add "name_buf" to FS_INFO_T structure and use "p_fs->name_buf" instead of the global "name_buf". Am I right? Could you please confirm it for me?

Best Regards!

LeoKong