Comment 0 for bug 2069573

Revision history for this message
Andrea Righi (arighi) wrote :

[Impact]

/var/lib/dkms/linux-apfs-rw/0+git20220214+ds-2ubuntu2~22.04.3/build/apfs.h:978:14: error: implicit declaration of function ‘__getblk_gfp’; did you mean ‘sb_getblk_gfp’? [-Werror=implicit-function-declaration]
  978 | bh = __getblk_gfp(APFS_NXI(sb)->nx_bdev, block, sb->s_blocksize, __GFP_MOVABLE);
      | ^~~~~~~~~~~~
      | sb_getblk_gfp

[Test case]

 $ sudo apt install apfs-dkms

[Fix]

Backport from noble the patch to properly support the new 6.8 kernel ABI.

[Regression potential]

We may experience regressions in systems that are using the Apple filesystem (especially in terms of allocations, since the new required API is related to memory).

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apfs-dkms 0+git20220214+ds-2ubuntu2~22.04.3
ProcVersionSignature: User Name 6.8.0-35.35.1~22.04.1-lowlatency 6.8.4
Uname: Linux 6.8.0-35-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: config-disk (/dev/vdb)
Date: Mon Jun 17 06:10:46 2024
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-apfs-rw
UpgradeStatus: No upgrade log present (probably fresh install)