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

panic #122

Open hljhnu opened 6 years ago

hljhnu commented 6 years ago

Hi,

I am using exfat. But I have gotten a lot of panic errors. The panic stack is as below:

exfat_lookup&&lookup_real&__lookup_hash&walk_component&path_lookupat&filename_lookup&vfs_path_lookup&sdcardfs_lookup&lookup_real&__lookup_hash&walk_component&link_path_walk&path_lookupat&filename_lookup&user_path_at_empt

I locate the panic. It happens in the line CHECK_ERR(d_unhashed(alias)); in the following function.

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,00)
static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
                           unsigned int flags)
#else
static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
                           struct nameidata *nd)
#endif
{
...
        CHECK_ERR(d_unhashed(alias));
...
}

Is it known? Do you have any solution to this issue?

Thank you.