[lustre-devel] [lustre-discuss] Lustre Client on Fedora 23

Michael Watters wattersm at watters.ws
Tue Oct 4 08:41:17 PDT 2016

Thanks.  I'm using the latest commit from master but unfortunately it 
doesn't compile properly.

make[3]: Entering directory '/usr/src/kernels/4.7.3-100.fc23.x86_64'
   CC [M] /home/projects/lustre-release-build/lustre/fid/fid_request.o
   CC [M] /home/projects/lustre-release-build/lustre/fid/lproc_fid.o
   LD [M]  /home/projects/lustre-release-build/lustre/fid/fid.o
   CC [M] /home/projects/lustre-release-build/lustre/fld/fld_request.o
   CC [M] /home/projects/lustre-release-build/lustre/fld/fld_cache.o
   CC [M] /home/projects/lustre-release-build/lustre/fld/lproc_fld.o
   LD [M]  /home/projects/lustre-release-build/lustre/fld/fld.o
   CC [M] /home/projects/lustre-release-build/lustre/llite/dcache.o
   CC [M]  /home/projects/lustre-release-build/lustre/llite/dir.o
   CC [M]  /home/projects/lustre-release-build/lustre/llite/file.o
/home/projects/lustre-release-build/lustre/llite/file.c:3841:14: error: 
initialization from incompatible pointer type 
   .setxattr = ll_setxattr,
/home/projects/lustre-release-build/lustre/llite/file.c:3841:14: note: 
(near initialization for ‘ll_file_inode_operations.setxattr’)
/home/projects/lustre-release-build/lustre/llite/file.c:3842:14: error: 
initialization from incompatible pointer type 
   .getxattr = ll_getxattr,
/home/projects/lustre-release-build/lustre/llite/file.c:3842:14: note: 
(near initialization for ‘ll_file_inode_operations.getxattr’)
cc1: all warnings being treated as errors

I'm not a C developer so I don't really know how to fix this but it 
looks like ll_setxattr is defined in xattr.c.

On 10/03/2016 04:42 PM, Dilger, Andreas wrote:
> This is really more of a topic for lustre-devel, so I've CC'd that list and we can move future conversation over there.
> This particular issue looks related to changes made by Andreas Gruenbacher (xattr maintainer) that went upstream.  Probably best to follow the commits in "git log drivers/staging/lustre/lustre/llite" and port those patches back to master.
> Cheers, Andreas

More information about the lustre-devel mailing list