Re: [GIT PULL] Ceph updates for -rc1

From: Dave Jones
Date: Tue Jan 28 2014 - 16:10:45 EST


On Tue, Jan 28, 2014 at 10:40:16AM -0800, Sage Weil wrote:
> Hi Linus,
>
> Please pull the following Ceph updates from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus
>
> This is a big batch. From Ilya we have:
>
> - rbd support for more than ~250 mapped devices (now uses same scheme
> that SCSI does for device major/minor numbering)
> - crush updates for new mapping behaviors (will be needed for coming
> erasure coding support, among other things)
> - preliminary support for tiered storage pools
>
> There is also a big series fixing a pile cephfs bugs with clustered MDSs
> from Yan Zheng, ACL support for cephfs from Guangliang Zhao, ceph fscache
> improvements from Li Wang, improved behavior when we get ENOSPC from Josh
> Durgin, some readv/writev improvements from Majianpeng, and the usual mix
> of small cleanups.

This breaks the build for me.

fs/ceph/acl.c: In function âceph_init_aclâ:
fs/ceph/acl.c:216:3: warning: passing argument 1 of âposix_acl_createâ from incompatible pointer type [enabled by default]
ret = posix_acl_create(&acl, GFP_NOFS, &inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:96:12: note: expected âstruct inode *â but argument is of type âstruct posix_acl **â
extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
^
fs/ceph/acl.c:216:3: warning: passing argument 2 of âposix_acl_createâ makes pointer from integer without a cast [enabled by default]
ret = posix_acl_create(&acl, GFP_NOFS, &inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:96:12: note: expected âumode_t *â but argument is of type âunsigned intâ
extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
^
fs/ceph/acl.c:216:3: warning: passing argument 3 of âposix_acl_createâ from incompatible pointer type [enabled by default]
ret = posix_acl_create(&acl, GFP_NOFS, &inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:96:12: note: expected âstruct posix_acl **â but argument is of type âumode_t *â
extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
^
fs/ceph/acl.c:216:3: error: too few arguments to function âposix_acl_createâ
ret = posix_acl_create(&acl, GFP_NOFS, &inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:96:12: note: declared here
extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
^
fs/ceph/acl.c: In function âceph_acl_chmodâ:
fs/ceph/acl.c:252:2: warning: passing argument 1 of âposix_acl_chmodâ from incompatible pointer type [enabled by default]
ret = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:95:12: note: expected âstruct inode *â but argument is of type âstruct posix_acl **â
extern int posix_acl_chmod(struct inode *, umode_t);
^
fs/ceph/acl.c:252:2: error: too many arguments to function âposix_acl_chmodâ
ret = posix_acl_chmod(&acl, GFP_KERNEL, inode->i_mode);
^
In file included from include/linux/posix_acl_xattr.h:12:0,
from fs/ceph/acl.c:25:
include/linux/posix_acl.h:95:12: note: declared here
extern int posix_acl_chmod(struct inode *, umode_t);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/