[ 77s] dirops.c:1416:23: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int)’} from incompatible pointer type ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int, _Bool)’} [-Wincompatible-pointer-types]
[ 77s] 1416 | .create = vbsf_inode_create,
[ 77s] | ^~~~~~~~~~~~~~~~~
[ 77s] dirops.c:1416:23: note: (near initialization for ‘vbsf_dir_iops.create’)
[ 77s] dirops.c:1050:12: note: ‘vbsf_inode_create’ declared here
[ 77s] 1050 | static int vbsf_inode_create(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode, bool excl)
[ 77s] | ^~~~~~~~~~~~~~~~~
Just build against 7.3.
Version
trunk/main
Host OS Type
Linux
Host OS name + version
openSUSE Tumbleweed
Host Architecture
x86
Guest OS Type
all
Guest Architecture
x86
Guest OS name + version
does not matter
Component
Guest Additions/Shared Folders
What happened?
vboxsfdoes not build against kernel 7.3:It is due to torvalds/linux@b2f1e6301efa. This patch fixes the build.
How can we reproduce this?
Just build against 7.3.
Did you upload all of your necessary log files, screenshots, etc.?