tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git carved-up-__dentry_kill head: 20f7d1936e8a2859fee51273c8ffadcca4304968 commit: c73bce0494d44e0d26ec351106558e4408cf1cd9 [22/28] step 3: have __dentry_kill() return the parent config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20231206/202312060802.HxDqIoDc-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060802.HxDqIoDc-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202312060802.HxDqIoDc-lkp@xxxxxxxxx/ Note: the viro-vfs/carved-up-__dentry_kill HEAD 20f7d1936e8a2859fee51273c8ffadcca4304968 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): fs/dcache.c: In function 'shrink_kill': >> fs/dcache.c:1101:33: error: 'dentry' undeclared (first use in this function) 1101 | struct dentry *parent = dentry->d_parent; | ^~~~~~ fs/dcache.c:1101:33: note: each undeclared identifier is reported only once for each function it appears in >> fs/dcache.c:1102:33: error: expected expression before 'if' 1102 | if (parent != victim && if (!--parent->d_lockref.count) | ^~ >> fs/dcache.c:1107:1: error: expected expression before '}' token 1107 | } | ^ vim +/dentry +1101 fs/dcache.c 1098 1099 static inline void shrink_kill(struct dentry *victim, struct list_head *list) 1100 { > 1101 struct dentry *parent = dentry->d_parent; > 1102 if (parent != victim && if (!--parent->d_lockref.count) 1103 to_shrink_list(parent, list); 1104 parent = __dentry_kill(dentry); 1105 if (parent) 1106 spin_unlock(&parent->d_lock); > 1107 } 1108 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki