[dm:dm-fallocate 9/22] block/ioctl.c:266:20: error: 'PAGE_CACHE_SHIFT' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git dm-fallocate
head:   c79eaa33c66f54e2e41c12bc7de505365b43401d
commit: e46671c1150b9ef7ba22d79ac14ff881fb611759 [9/22] block: invalidate the page cache when issuing BLKZEROOUT.
config: x86_64-randconfig-x010-201615 (attached as .config)
reproduce:
        git checkout e46671c1150b9ef7ba22d79ac14ff881fb611759
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   block/ioctl.c: In function 'blk_ioctl_zeroout':
>> block/ioctl.c:266:20: error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function)
              start >> PAGE_CACHE_SHIFT,
                       ^
   block/ioctl.c:266:20: note: each undeclared identifier is reported only once for each function it appears in
>> block/ioctl.c:268:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/PAGE_CACHE_SHIFT +266 block/ioctl.c

   260	
   261		/*
   262		 * Invalidate again; if someone wandered in and dirtied a page,
   263		 * the caller will be given -EBUSY.
   264		 */
   265		return invalidate_inode_pages2_range(mapping,
 > 266						     start >> PAGE_CACHE_SHIFT,
   267						     end >> PAGE_CACHE_SHIFT);
 > 268	}
   269	
   270	static int put_ushort(unsigned long arg, unsigned short val)
   271	{

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

Attachment: .config.gz
Description: Binary data

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux