toby63 / shiftfs-dkms

shiftfs kernel module via dkms
GNU General Public License v2.0
38 stars 10 forks source link

Compilation for kernel 5.18 is not working #22

Closed toby63 closed 2 years ago

toby63 commented 2 years ago

Description of the Bug/Problem:

Make.log:

make: Verzeichnis „/usr/lib/modules/5.18.3-arch1-1/build“ wird betreten
  CC [M]  /var/lib/dkms/shiftfs-dkms/20220413/build/shiftfs.o
/var/lib/dkms/shiftfs-dkms/20220413/build/shiftfs.c: In Funktion »shiftfs_fiemap«:
/var/lib/dkms/shiftfs-dkms/20220413/build/shiftfs.c:741:17: Fehler: Implizite Deklaration der Funktion »filemap_write_and_wait«; meinten Sie »file_write_and_wait«? [-Werror=implicit-function-declaration]
  741 |                 filemap_write_and_wait(loweri->i_mapping);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
      |                 file_write_and_wait
cc1: Einige Warnungen werden als Fehler behandelt
make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/shiftfs-dkms/20220413/build/shiftfs.o] Fehler 1
make: *** [Makefile:1834: /var/lib/dkms/shiftfs-dkms/20220413/build] Fehler 2
make: Verzeichnis „/usr/lib/modules/5.18.3-arch1-1/build“ wird verlassen

System information:

Additional information/context:

toby63 commented 2 years ago

@brauner

toby63 commented 2 years ago

Fixed with new branch for 5.18.