lkml.org 
[lkml]   [2021]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[djwong-xfs:repair-symlink-swapext 314/325] fs/xfs/scrub/xfbtree.h:33:9: error: unknown type name 'xfileoff_t'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git repair-symlink-swapext
head: 851df07d9599471df909c4ff0e3cf33f4b9619f0
commit: a34386e6ec11a8cbaa5e60450a53f2e77ecde76c [314/325] xfs: connect in-memory btrees to xfiles
config: m68k-randconfig-r006-20211214 (https://download.01.org/0day-ci/archive/20211216/202112161500.kEyBafae-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=a34386e6ec11a8cbaa5e60450a53f2e77ecde76c
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs repair-symlink-swapext
git checkout a34386e6ec11a8cbaa5e60450a53f2e77ecde76c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash fs/xfs/

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 >>):

In file included from fs/xfs/xfs_trace.c:45:
>> fs/xfs/scrub/xfbtree.h:33:9: error: unknown type name 'xfileoff_t'
33 | xfileoff_t xf_used;
| ^~~~~~~~~~


vim +/xfileoff_t +33 fs/xfs/scrub/xfbtree.h

21
22 struct xfbtree {
23 /* buffer cache target for this in-memory btree */
24 struct xfs_buftarg *target;
25
26 /* Swappable memory file backing this btree. */
27 struct xfile *xfile;
28
29 /* Bitmap of free space from pos to used */
30 struct xbitmap *freespace;
31
32 /* Number of xfile blocks actually used by this xfbtree. */
> 33 xfileoff_t xf_used;
34
35 /* Owner of this btree. */
36 unsigned long long owner;
37
38 /* Minimum and maximum records per block. */
39 unsigned int maxrecs[2];
40 unsigned int minrecs[2];
41 };
42

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

\
 
 \ /
  Last update: 2021-12-16 08:37    [W:0.072 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site