Loading fs/sdfat/sdfat.c +0 −4 Original line number Original line Diff line number Diff line Loading @@ -2423,11 +2423,7 @@ static struct dentry *__sdfat_lookup(struct inode *dir, struct dentry *dentry) * In such case, we reuse an alias instead of new dentry * In such case, we reuse an alias instead of new dentry */ */ if (d_unhashed(alias)) { if (d_unhashed(alias)) { #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) BUG_ON(alias->d_name.hash != dentry->d_name.hash && alias->d_name.len != dentry->d_name.len); #else BUG_ON(alias->d_name.hash_len != dentry->d_name.hash_len); BUG_ON(alias->d_name.hash_len != dentry->d_name.hash_len); #endif sdfat_msg(sb, KERN_INFO, "rehashed a dentry(%p) " sdfat_msg(sb, KERN_INFO, "rehashed a dentry(%p) " "in read lookup", alias); "in read lookup", alias); d_drop(dentry); d_drop(dentry); Loading Loading
fs/sdfat/sdfat.c +0 −4 Original line number Original line Diff line number Diff line Loading @@ -2423,11 +2423,7 @@ static struct dentry *__sdfat_lookup(struct inode *dir, struct dentry *dentry) * In such case, we reuse an alias instead of new dentry * In such case, we reuse an alias instead of new dentry */ */ if (d_unhashed(alias)) { if (d_unhashed(alias)) { #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) BUG_ON(alias->d_name.hash != dentry->d_name.hash && alias->d_name.len != dentry->d_name.len); #else BUG_ON(alias->d_name.hash_len != dentry->d_name.hash_len); BUG_ON(alias->d_name.hash_len != dentry->d_name.hash_len); #endif sdfat_msg(sb, KERN_INFO, "rehashed a dentry(%p) " sdfat_msg(sb, KERN_INFO, "rehashed a dentry(%p) " "in read lookup", alias); "in read lookup", alias); d_drop(dentry); d_drop(dentry); Loading