Re: [Jfs-patches] [PATCH] Add d_hash and d_compare operations for case-insensitive names (1 of 1)

Jan Kratochvil <[email protected]> Tue, 13 Jul 2004 07:28:39 +0200
Newsgroups gmane.linux.file-systems,gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
Hi,

On Mon, 12 Jul 2004 20:55:53 +0200, Dave Kleikamp wrote:
> On Mon, 2004-07-12 at 13:43, Christoph Hellwig wrote:
...
> > > +	memcpy((unsigned char *)a->name, b->name, a->len);
> > 
> > why do you need this cast?
> 
> qstr defines ->name as const.  Without the cast, the compiler
> complains.  Modifying a->name is kind of ugly, but it make case
> preservation work.

It looks as the same issues being dealt with in my case-preserving
case-insensitive patch for vfat+affs some years ago. It never made it to
kernel.
	http://www.jankratochvil.net/priv/vfat/

(Jan Kara coauthored)


Regards,
Lace

-- 
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/
-
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