[CentOS] centos 4.2 with reiserfs

Johnny Hughes mailing-lists at hughesjr.com
Wed Oct 26 11:59:26 UTC 2005


On Wed, 2005-10-26 at 12:22 +0100, James Pearson wrote:
> I don't use reiserfs - but having a quick look at the 2.6.9-22 kernel 
> source ...
> 
> It looks like RedHat patched the reiserfs source to change 'struct key' 
> to 'struct reiserfs_key' (Patch2503) - I guess to prevent name conflicts 
> with the 'Key management patches' (from the spec file).
> 
> However, it looks like they missed a couple ... not surprising as they 
> don't support reiserfs, so they don't hit this problem.
> 
> The attached patch seems to allow it to compile - although not tested.
> 
> James Pearson

Thanks, I'll give this a go later today.

Since this is already an upsupported kernel, I have no problem fixing
problems in it.  We are also looking at rolling in a little more stable
XFS code from SGI into centosplus for CentOS-4 soon as well.


> 
> Lim Wee Cheong wrote:
> > Hi,
> > 
> > I tried to compile the 2.6.9-22.EL kernel with reiserfs enabled. make fails as
> > follows.  anyone managed to compile with reiserfs successfully?
> > 
> >   CC [M]  fs/reiserfs/stree.o
> > fs/reiserfs/stree.c: In function `get_lkey':
> > fs/reiserfs/stree.c:322: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:325: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:329: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:332: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:337: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:338: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c: At top level:
> > fs/reiserfs/stree.c:346: error: conflicting types for 'get_rkey'
> > include/linux/reiserfs_fs.h:1886: error: previous declaration of 'get_rkey' was
> > here
> > fs/reiserfs/stree.c:346: error: conflicting types for 'get_rkey'
> > include/linux/reiserfs_fs.h:1886: error: previous declaration of 'get_rkey' was
> > here
> > fs/reiserfs/stree.c: In function `get_rkey':
> > fs/reiserfs/stree.c:361: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:364: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:368: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:371: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:376: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c:377: warning: return from incompatible pointer type
> > fs/reiserfs/stree.c: In function `key_in_buffer':
> > fs/reiserfs/stree.c:399: warning: passing arg 1 of `comp_keys' from incompatible
> > pointer type
> > fs/reiserfs/stree.c:403: warning: passing arg 1 of `comp_keys' from incompatible
> > pointer type
> > make[2]: *** [fs/reiserfs/stree.o] Error 1
> > make[1]: *** [fs/reiserfs] Error 2
> > make: *** [fs] Error 2
> > 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20051026/8713a2f6/attachment.bin


More information about the CentOS mailing list