From: Christoph Hellwig <hch@infradead.org>
To: shaggy@austin.ibm.com
Cc: jfs-patches@www-124.ibm.com, linux-fsdevel@vger.kernel.org
Subject: Re: [Jfs-patches] [PATCH] Add d_hash and d_compare operations for case-insensitive names (1 of 1)
Date: Mon, 12 Jul 2004 19:43:06 +0100 [thread overview]
Message-ID: <20040712184306.GA28609@infradead.org> (raw)
In-Reply-To: <200407121839.i6CIdMBn006454@kleikamp.dyn.webahead.ibm.com>
> - 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?
next parent reply other threads:[~2004-07-12 18:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200407121839.i6CIdMBn006454@kleikamp.dyn.webahead.ibm.com>
2004-07-12 18:43 ` Christoph Hellwig [this message]
2004-07-12 18:55 ` [PATCH] Add d_hash and d_compare operations for case-insensitive names (1 of 1) Dave Kleikamp
2004-07-13 5:28 ` [Jfs-patches] " Jan Kratochvil
2004-07-13 13:40 ` Dave Kleikamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040712184306.GA28609@infradead.org \
--to=hch@infradead.org \
--cc=jfs-patches@www-124.ibm.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=shaggy@austin.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).