The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [willy-pagecache:fs-folio 44/58] fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'?
@ 2022-02-14 23:58 kernel test robot
  2022-02-15  0:08 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-02-14 23:58 UTC (permalink / raw)
  To: Matthew Wilcox (Oracle); +Cc: kbuild-all, linux-kernel

tree:   git://git.infradead.org/users/willy/pagecache fs-folio
head:   2a1113b30dfe1f84d065830fc837dfa8737ba380
commit: 117ba9cd89727cdc7262cb6088ea070ae1ef2a98 [44/58] fs: Convert trivial uses of __set_page_dirty_nobuffers to filemap_dirty_folio
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220215/202202150745.y8wccCv3-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add willy-pagecache git://git.infradead.org/users/willy/pagecache
        git fetch --no-tags willy-pagecache fs-folio
        git checkout 117ba9cd89727cdc7262cb6088ea070ae1ef2a98
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'?
     507 |  .dirty_folio = filemap_dirty_folio,
         |                 ^~~~~~~~~~~~~~~~~~~
         |                 filemap_get_folio


vim +507 fs/hostfs/hostfs_kern.c

   503	
   504	static const struct address_space_operations hostfs_aops = {
   505		.writepage 	= hostfs_writepage,
   506		.readpage	= hostfs_readpage,
 > 507		.dirty_folio	= filemap_dirty_folio,
   508		.write_begin	= hostfs_write_begin,
   509		.write_end	= hostfs_write_end,
   510	};
   511	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [willy-pagecache:fs-folio 44/58] fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'?
  2022-02-14 23:58 [willy-pagecache:fs-folio 44/58] fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'? kernel test robot
@ 2022-02-15  0:08 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2022-02-15  0:08 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel

On Tue, Feb 15, 2022 at 07:58:24AM +0800, kernel test robot wrote:
> commit: 117ba9cd89727cdc7262cb6088ea070ae1ef2a98 [44/58] fs: Convert trivial uses of __set_page_dirty_nobuffers to filemap_dirty_folio
> 
> >> fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'?
>      507 |  .dirty_folio = filemap_dirty_folio,
>          |                 ^~~~~~~~~~~~~~~~~~~
>          |                 filemap_get_folio

Thanks, fixed, update pushed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-15  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14 23:58 [willy-pagecache:fs-folio 44/58] fs/hostfs/hostfs_kern.c:507:17: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'? kernel test robot
2022-02-15  0:08 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox