[android-common:android17-6.18 32/32] fs/f2fs/f2fs.h:2392:47: error: 'struct f2fs_rwsem' has no member named 'read_waiters'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   5c36f73a41f1533cae407eba882ca2940e1775f1
commit: 4e1c4268094aed2888ea52c2626905886854a5c2 [32/32] ANDROID: vendor_hooks: add hooks for f2fs down read
config: i386-randconfig-002-20260818 (https://download.01.org/0day-ci/archive/20260819/[email protected]/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from fs/f2fs/hash.c:18:
   fs/f2fs/f2fs.h: In function 'f2fs_down_read':
>> fs/f2fs/f2fs.h:2392:47: error: 'struct f2fs_rwsem' has no member named 'read_waiters'
    2392 |         _trace_android_rvh_f2fs_down_read(&sem->read_waiters, &sem->internal_rwsem, &skip);
         |                                               ^~


vim +2392 fs/f2fs/f2fs.h

  2385	
  2386	void _trace_android_rvh_f2fs_down_read(wait_queue_head_t *read_waiters,
  2387					   struct rw_semaphore *rwsem, bool *skip);
  2388	
  2389	static inline void f2fs_down_read(struct f2fs_rwsem *sem)
  2390	{
  2391		bool skip = false;
> 2392		_trace_android_rvh_f2fs_down_read(&sem->read_waiters, &sem->internal_rwsem, &skip);
  2393		if (skip)
  2394			return;
  2395	#ifdef CONFIG_F2FS_UNFAIR_RWSEM
  2396		wait_event(sem->read_waiters, down_read_trylock(&sem->internal_rwsem));
  2397	#else
  2398		down_read(&sem->internal_rwsem);
  2399	#endif
  2400	}
  2401	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.