Re: [Jfs-patches] [PATCH] Add d_hash and d_compare operations for case-insensitive names (1 of 1)
Christoph Hellwig <[email protected]> Mon, 12 Jul 2004 19:43:06 +0100
| Newsgroups | gmane.linux.file-systems,gmane.comp.file-systems.jfs.patches |
|---|---|
| Message-ID | <[email protected]> |
> - return d_splice_alias(ip, dentry); > + if (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2) > + dentry->d_op = &jfs_ci_dentry_operations; > + > + dentry = d_splice_alias(ip, dentry); > + > + if (dentry && (JFS_SBI(dip->i_sb)->mntflag & JFS_OS2)) > + dentry->d_op = &jfs_ci_dentry_operations;A If d_splice_alias doesn't propagate d_ops it needs to be fixed, not worked around. > + memcpy((unsigned char *)a->name, b->name, a->len); why do you need this cast? - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html