Open CodeUnit opened 5 years ago
CC [M] /build/bbswitch-0.8/bbswitch.o
CC [M] /build/source/exfat_core.o
CC [M] /build/source/nvidiabl-module.o
/build/source/exfat_core.c: In function 'fs_error':
/build/source/exfat_core.c:1760:64: error: 'MS_RDONLY' undeclared (first use in this function); did you mean 'IS_RDONLY'?
else if ((opts->errors == EXFAT_ERRORS_RO) && !(sb->s_flags & MS_RDONLY)) {
^~~~~~~~~
IS_RDONLY
/build/source/exfat_core.c:1760:64: note: each undeclared identifier is reported only once for each function it appears in
Does this patch fix this? @CodeUnit
Yes, it works for me.
@CodeUnit thanks for your efforts? care to create a PR for the issue? i'd love to add your patch to the nixpkgs repository similar to 4.18 and 4.20 support we maintain: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/exfat/default.nix#L31-L36
Hi all,
I've forked the project to my github and I've added the patches for 4.18-4.20 and also the patch for >= 5.0. Please take a look https://github.com/AdrianBan/exfat-nofuse . We can try to continue the project here if you are interested. I'm trying to maintain for myself.
Kind regards, Adrian
Hey @AdrianBan thanks for your efforts and your willingness to continue maintain exfat-nofuse. I will prepare an update in nixpkgs.
For linux-v5.0 this patch is needed (MS_toSB_macros.patch):