[ceph-client:testing 25/27] fs/ceph/super.h:60:43: error: 'CEPH_MOUNT_OPT_NEARFULL_SYNC' undeclared; did you mean 'CEPH_MOUNT_OPT_DEFAULT'?
kernel test robot <[email protected]> Wed, 08 Jul 2026 20:17:26 +0800
| Newsgroups | org.kernel.vger.ceph-devel,dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/ceph/ceph-client.git testing head: fc67edb66b3c9924c4e0bb366a92b32ea13c526a commit: cb4ac0e6565fe667dba2760b6a012306e6f796e0 [25/27] ceph: fix hanging __ceph_get_caps() with stale `mds_wanted` config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260708/[email protected]/config) compiler: sh4-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260708/[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/ceph/file.c:17: fs/ceph/file.c: In function 'ceph_write_iter': >> fs/ceph/super.h:60:43: error: 'CEPH_MOUNT_OPT_NEARFULL_SYNC' undeclared (first use in this function); did you mean 'CEPH_MOUNT_OPT_DEFAULT'? 60 | (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) | ^~~~~~~~~~~~~~~ fs/ceph/file.c:2573:21: note: in expansion of macro 'ceph_test_mount_opt' 2573 | if (ceph_test_mount_opt(fsc, NEARFULL_SYNC) && | ^~~~~~~~~~~~~~~~~~~ fs/ceph/super.h:60:43: note: each undeclared identifier is reported only once for each function it appears in fs/ceph/file.c:2573:21: note: in expansion of macro 'ceph_test_mount_opt' 2573 | if (ceph_test_mount_opt(fsc, NEARFULL_SYNC) && | ^~~~~~~~~~~~~~~~~~~ vim +60 fs/ceph/super.h 6a2593823ababd Sage Weil 2010-07-07 49 6f9718fe41c3a4 Luis Henriques 2018-12-10 50 #define CEPH_MOUNT_OPT_DEFAULT \ 6f9718fe41c3a4 Luis Henriques 2018-12-10 51 (CEPH_MOUNT_OPT_DCACHE | \ f7a67b463fb83a Jeff Layton 2021-08-09 52 CEPH_MOUNT_OPT_NOCOPYFROM | \ f7a67b463fb83a Jeff Layton 2021-08-09 53 CEPH_MOUNT_OPT_ASYNC_DIROPS) de57606c23afde Sage Weil 2009-10-06 54 3d14c5d2b6e15c Yehuda Sadeh 2010-04-06 55 #define ceph_set_mount_opt(fsc, opt) \ 2ccb45462aeaf0 Jeff Layton 2019-04-02 56 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 2ccb45462aeaf0 Jeff Layton 2019-04-02 57 #define ceph_clear_mount_opt(fsc, opt) \ 2ccb45462aeaf0 Jeff Layton 2019-04-02 58 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 3d14c5d2b6e15c Yehuda Sadeh 2010-04-06 59 #define ceph_test_mount_opt(fsc, opt) \ 3d14c5d2b6e15c Yehuda Sadeh 2010-04-06 @60 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) de57606c23afde Sage Weil 2009-10-06 61 :::::: The code at line 60 was first introduced by commit :::::: 3d14c5d2b6e15c21d8e5467dc62d33127c23a644 ceph: factor out libceph from Ceph file system :::::: TO: Yehuda Sadeh <[email protected]> :::::: CC: Sage Weil <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki