
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: ba07135cf74b1424e2f7f0c60e59c5b206ab320c commit: abbf198d064fa41dcc413c392423ad71c2c85c3e [1743/1743] block: Do not discard buffers under a mounted filesystem config: x86_64-buildonly-randconfig-2004-20250802 (https://download.01.org/0day-ci/archive/20250805/202508050226.6CBD8sQZ-lkp@i...) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250805/202508050226.6CBD8sQZ-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202508050226.6CBD8sQZ-lkp@intel.com/ All warnings (new ones prefixed by >>):
fs/block_dev.c:1096:6: warning: no previous prototype for 'bd_abort_claiming' [-Wmissing-prototypes] 1096 | void bd_abort_claiming(struct block_device *bdev, struct block_device *whole, | ^~~~~~~~~~~~~~~~~
vim +/bd_abort_claiming +1096 fs/block_dev.c 1085 1086 /** 1087 * bd_abort_claiming - abort claiming of a block device 1088 * @bdev: block device of interest 1089 * @whole: whole block device (returned from bd_start_claiming()) 1090 * @holder: holder that has claimed @bdev 1091 * 1092 * Abort claiming of a block device when the exclusive open failed. This can be 1093 * also used when exclusive open is not actually desired and we just needed 1094 * to block other exclusive openers for a while. 1095 */
1096 void bd_abort_claiming(struct block_device *bdev, struct block_device *whole, 1097 void *holder) 1098 { 1099 spin_lock(&bdev_lock); 1100 bd_clear_claiming(whole, holder); 1101 spin_unlock(&bdev_lock); 1102 } 1103 EXPORT_SYMBOL(bd_abort_claiming); 1104
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki