* [jack-fs:bdev_handle 29/29] fs/cramfs/inode.c:498:17: error: implicit declaration of function 'blkdev_put'
@ 2023-08-11 20:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-11 20:12 UTC (permalink / raw)
To: Jan Kara; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git bdev_handle
head: 1b96ba5f6b5fcb2bd0a267c592add81699cbf6c8
commit: 1b96ba5f6b5fcb2bd0a267c592add81699cbf6c8 [29/29] block: Remove blkdev_get_by_*() functions
config: xtensa-randconfig-r036-20230812 (https://download.01.org/0day-ci/archive/20230812/202308120445.mARUDRQa-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120445.mARUDRQa-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308120445.mARUDRQa-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/cramfs/inode.c: In function 'cramfs_kill_sb':
>> fs/cramfs/inode.c:498:17: error: implicit declaration of function 'blkdev_put' [-Werror=implicit-function-declaration]
498 | blkdev_put(sb->s_bdev, sb);
| ^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/blkdev_put +498 fs/cramfs/inode.c
eddcd97659e31f Nicolas Pitre 2017-10-12 484
2309fb8ef40e82 Al Viro 2013-12-10 485 static void cramfs_kill_sb(struct super_block *sb)
^1da177e4c3f41 Linus Torvalds 2005-04-16 486 {
f7f4f4dd6948e3 Al Viro 2013-12-10 487 struct cramfs_sb_info *sbi = CRAMFS_SB(sb);
31d92e55198d4e Fabian Frederick 2014-08-08 488
a23edcb080c703 Jan Kara 2023-07-24 489 generic_shutdown_super(sb);
a23edcb080c703 Jan Kara 2023-07-24 490
08a8f308688032 Joe Perches 2018-05-13 491 if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) {
99c18ce580c6cc Nicolas Pitre 2017-10-13 492 if (sbi && sbi->mtd_point_size)
99c18ce580c6cc Nicolas Pitre 2017-10-13 493 mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size);
a23edcb080c703 Jan Kara 2023-07-24 494 put_mtd_device(sb->s_mtd);
a23edcb080c703 Jan Kara 2023-07-24 495 sb->s_mtd = NULL;
99c18ce580c6cc Nicolas Pitre 2017-10-13 496 } else if (IS_ENABLED(CONFIG_CRAMFS_BLOCKDEV) && sb->s_bdev) {
a23edcb080c703 Jan Kara 2023-07-24 497 sync_blockdev(sb->s_bdev);
87b02a2ec40b29 Christoph Hellwig 2023-08-02 @498 blkdev_put(sb->s_bdev, sb);
99c18ce580c6cc Nicolas Pitre 2017-10-13 499 }
2309fb8ef40e82 Al Viro 2013-12-10 500 kfree(sbi);
^1da177e4c3f41 Linus Torvalds 2005-04-16 501 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 502
:::::: The code at line 498 was first introduced by commit
:::::: 87b02a2ec40b2944ae4a2fdb078a53e39fca67a5 fs: use the super_block as holder when mounting file systems
:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Christian Brauner <brauner@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-11 20:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 20:12 [jack-fs:bdev_handle 29/29] fs/cramfs/inode.c:498:17: error: implicit declaration of function 'blkdev_put' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.