Hi all, After merging the vfs-brauner tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/bcachefs/fs-ioctl.c: In function 'bch2_ioc_goingdown': fs/bcachefs/fs-ioctl.c:294:23: error: implicit declaration of function 'freeze_bdev' [-Werror=implicit-function-declaration] 294 | ret = freeze_bdev(c->vfs_sb->s_bdev); | ^~~~~~~~~~~ fs/bcachefs/fs-ioctl.c:301:17: error: implicit declaration of function 'thaw_bdev' [-Werror=implicit-function-declaration] 301 | thaw_bdev(c->vfs_sb->s_bdev); | ^~~~~~~~~ Caused by commit 46bb2e011760 ("bdev: rename freeze and thaw helpers") interacting with commit 4495cbed568b ("bcachefs: Improve FS_IOC_GOINGDOWN ioctl") I have applied the following merge resolution patch for today. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Tue, 31 Oct 2023 12:00:27 +1100 Subject: [PATCH] fixup for "bdev: rename freeze and thaw helpers" interacting with "bcachefs: Improve FS_IOC_GOINGDOWN ioctl". Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- fs/bcachefs/fs-ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/bcachefs/fs-ioctl.c b/fs/bcachefs/fs-ioctl.c index 6040bd3f0778..d715a2b35189 100644 --- a/fs/bcachefs/fs-ioctl.c +++ b/fs/bcachefs/fs-ioctl.c @@ -291,14 +291,14 @@ static int bch2_ioc_goingdown(struct bch_fs *c, u32 __user *arg) switch (flags) { case FSOP_GOING_FLAGS_DEFAULT: - ret = freeze_bdev(c->vfs_sb->s_bdev); + ret = bdev_freeze(c->vfs_sb->s_bdev); if (ret) goto err; bch2_journal_flush(&c->journal); c->vfs_sb->s_flags |= SB_RDONLY; bch2_fs_emergency_read_only(c); - thaw_bdev(c->vfs_sb->s_bdev); + bdev_thaw(c->vfs_sb->s_bdev); break; case FSOP_GOING_FLAGS_LOGFLUSH: -- 2.40.1 -- Cheers, Stephen Rothwell
Attachment:
pgpDHN3nmlmrD.pgp
Description: OpenPGP digital signature