diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index 5596081b93c1..4561c60c95e3 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1669,6 +1669,8 @@ static struct dentry *bch2_mount(struct file_system_type *fs_type, sb->s_flags |= SB_POSIXACL; #endif + sb->s_shrink.seeks = 0; + vinode = bch2_vfs_inode_get(c, BCACHEFS_ROOT_SUBVOL_INUM); if (IS_ERR(vinode)) { bch_err(c, "error mounting: error getting root inode %i",