[miklos-vfs:overlayfs-next 6/6] fs/overlayfs/file.c:345: undefined reference to `vfs_fadvise'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next
head:   53e35e7602b1cb11751e1788a888c6d74463c6c0
commit: 53e35e7602b1cb11751e1788a888c6d74463c6c0 [6/6] ovl: add ovl_fadvise()
config: x86_64-randconfig-i0-08280848 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 53e35e7602b1cb11751e1788a888c6d74463c6c0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/readahead.o: In function `ksys_readahead':
   mm/readahead.c:599: undefined reference to `vfs_fadvise'
   fs/overlayfs/file.o: In function `ovl_fadvise':
>> fs/overlayfs/file.c:345: undefined reference to `vfs_fadvise'

vim +345 fs/overlayfs/file.c

   333	
   334	int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
   335	{
   336		struct fd real;
   337		const struct cred *old_cred;
   338		int ret;
   339	
   340		ret = ovl_real_fdget(file, &real);
   341		if (ret)
   342			return ret;
   343	
   344		old_cred = ovl_override_creds(file_inode(file)->i_sb);
 > 345		ret = vfs_fadvise(real.file, offset, len, advice);
   346		revert_creds(old_cred);
   347	
   348		fdput(real);
   349	
   350		return ret;
   351	}
   352	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux