[xfs-linux:xfs-4.11-merge 38/39] fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given

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

 



tree:   https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git xfs-4.11-merge
head:   c7016e9a73f1f8a8a21a8fdfc84f556fb8f14583
commit: ec48023e05afbd7e04269306b814bcaf86e1e047 [38/39] xfs: simplify xfs_rtallocate_extent
config: i386-randconfig-x006-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout ec48023e05afbd7e04269306b814bcaf86e1e047
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/xfs/xfs_bmap_util.c: In function 'xfs_bmap_rtalloc':
>> fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given
        &ralen, ap->wasdel, prod, &rtb);
                                      ^
>> fs/xfs/xfs_bmap_util.c:160:10: error: 'xfs_rtallocate_extent' undeclared (first use in this function)
     error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
             ^~~~~~~~~~~~~~~~~~~~~
   fs/xfs/xfs_bmap_util.c:160:10: note: each undeclared identifier is reported only once for each function it appears in

vim +/xfs_rtallocate_extent +161 fs/xfs/xfs_bmap_util.c

   154		/*
   155		 * Realtime allocation, done through xfs_rtallocate_extent.
   156		 */
   157		do_div(ap->blkno, mp->m_sb.sb_rextsize);
   158		rtb = ap->blkno;
   159		ap->length = ralen;
 > 160		error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
 > 161					&ralen, ap->wasdel, prod, &rtb);
   162		if (error)
   163			return error;
   164	

---
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]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux