tree: https://github.com/ceph/ceph-client.git testing head: aa4735d86e24a854f932c3c9b1b20fe4979023da commit: aa4735d86e24a854f932c3c9b1b20fe4979023da [25/25] ceph: tolerate bad i_size for symlink inode config: x86_64-randconfig-x011-201618 (attached as .config) reproduce: git checkout aa4735d86e24a854f932c3c9b1b20fe4979023da # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): fs/ceph/inode.c: In function 'fill_inode': >> fs/ceph/inode.c:891:18: warning: passing argument 1 of 'i_size_write' makes pointer from integer without a cast [-Wint-conversion] i_size_write(symlen); ^ In file included from fs/ceph/inode.c:4:0: include/linux/fs.h:788:20: note: expected 'struct inode *' but argument is of type 'u32 {aka unsigned int}' static inline void i_size_write(struct inode *inode, loff_t i_size) ^ >> fs/ceph/inode.c:891:5: error: too few arguments to function 'i_size_write' i_size_write(symlen); ^ In file included from fs/ceph/inode.c:4:0: include/linux/fs.h:788:20: note: declared here static inline void i_size_write(struct inode *inode, loff_t i_size) ^ fs/ceph/inode.c: In function '__ceph_setattr': >> fs/ceph/inode.c:2028:44: error: 'struct iattr' has no member named 'is_size' inode->i_blocks = calc_inode_blocks(attr->is_size); ^ vim +/i_size_write +891 fs/ceph/inode.c 885 spin_unlock(&ci->i_ceph_lock); 886 887 if (symlen != i_size_read(inode)) { 888 pr_err("fill_inode %llx.%llx BAD symlink " 889 "size %lld\n", ceph_vinop(inode), 890 i_size_read(inode)); > 891 i_size_write(symlen); 892 inode->i_blocks = calc_inode_blocks(symlen); 893 } 894 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data