For a while now I've felt that a dentry should have room for fs
specific data, just like inodes, to aid in lookups.
In your case, perhaps then you could store both names, and use
a custom d_compare() to decide what to do.
Just a thought.
-- Andrew E. Mileski mailto:aem@netcom.ca