tree: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next head: 9475938ce8cf589a34f66ca2ef17fa37e37d37bf commit: 9475938ce8cf589a34f66ca2ef17fa37e37d37bf [64/64] ovl: set I_CREATING on inode being created config: i386-randconfig-a0-08152117 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: git checkout 9475938ce8cf589a34f66ca2ef17fa37e37d37bf # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): fs/overlayfs/dir.c: In function 'ovl_create_object': >> fs/overlayfs/dir.c:607:20: error: 'I_CREATING' undeclared (first use in this function) inode->i_state |= I_CREATING; ^ fs/overlayfs/dir.c:607:20: note: each undeclared identifier is reported only once for each function it appears in vim +/I_CREATING +607 fs/overlayfs/dir.c 585 586 static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, 587 const char *link) 588 { 589 int err; 590 struct inode *inode; 591 struct ovl_cattr attr = { 592 .rdev = rdev, 593 .link = link, 594 }; 595 596 err = ovl_want_write(dentry); 597 if (err) 598 goto out; 599 600 /* Preallocate inode to be used by ovl_get_inode() */ 601 err = -ENOMEM; 602 inode = ovl_new_inode(dentry->d_sb, mode, rdev); 603 if (!inode) 604 goto out_drop_write; 605 606 spin_lock(&inode->i_lock); > 607 inode->i_state |= I_CREATING; 608 spin_unlock(&inode->i_lock); 609 610 inode_init_owner(inode, dentry->d_parent->d_inode, mode); 611 attr.mode = inode->i_mode; 612 613 err = ovl_create_or_link(dentry, inode, &attr, false); 614 /* Did we end up using the preallocated inode? */ 615 if (inode != d_inode(dentry)) 616 iput(inode); 617 618 out_drop_write: 619 ovl_drop_write(dentry); 620 out: 621 return err; 622 } 623 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip