| To: | David Chinner <dgc@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/7] XFS: ASCII case-insensitive support |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Thu, 3 Apr 2008 13:09:45 -0400 |
| Cc: | Barry Naujok <bnaujok@xxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx |
| In-reply-to: | <20080403015331.GP103491721@xxxxxxx> |
| References: | <20080402062508.017738664@xxxxxxxxxxxxxxxxxxxxxxx> <20080402062708.071715758@xxxxxxxxxxxxxxxxxxxxxxx> <20080403015331.GP103491721@xxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.17 (2007-11-01) |
On Thu, Apr 03, 2008 at 11:53:31AM +1000, David Chinner wrote: > > + if (xfs_sb_version_hasoldci(&mp->m_sb)) > > + sb->s_root->d_op = &xfs_ci_dentry_operations; > > Write a helper function for this: xfs_set_ci_dentry_ops(mp, dentry) > rather than exporting the xfs_ci_dentry_operations structure. yes, please. also the export ops calling d_alloc_anon need to update the dentry ops aswel and should be using this one. > > +#define XFS_SB_VERSION_OLDCIBIT 0x4000 /* ASCII only > > case-insens. */ > > #define XFS_SB_VERSION_MOREBITSBIT 0x8000 > > #define XFS_SB_VERSION_OKSASHFBITS \ > > Whitespace. > > But it's a shame you're being sensible about this - I kinda liked > the Irix name for this feature (XFS_SB_VERSION_BORGBIT). :) So what exactly prevents us from using it in Linux? please use the old name. |
| Previous by Date: | Re: [Patch] Cacheline align xlog_t, Andi Kleen |
|---|---|
| Next by Date: | Re: [PATCH 4/7] XFS: Return case-insensitive match for dentry cache, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 2/7] XFS: ASCII case-insensitive support, David Chinner |
| Next by Thread: | Re: [PATCH 2/7] XFS: ASCII case-insensitive support, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |