You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve tried to compile latest released ksmbd version 3.5.0 for vanilla linux LTS kernel 6.6.44 with SMB_INSECURE_SERVER=y (SMBv1 support needed). The following errors occurred during compilation:
fs/smb/server/smb1pdu.c:` In function 'smb_rename':
fs/smb/server/smb1pdu.c:862:14: error: implicit declaration of function 'ksmbd_vfs_kern_path'; did you mean 'ksmbd_vfs_zero_data'? [-Werror=implicit-function-declaration]
862 | rc = ksmbd_vfs_kern_path(work, newname, LOOKUP_NO_SYMLINKS, &path, 1);
| ^~~~~~~~~~~~~~~~~~~
| ksmbd_vfs_zero_data
fs/smb/server/smb1pdu.c:887:14: error: implicit declaration of function 'ksmbd_vfs_fp_rename'; did you mean 'ksmbd_vfs_rename'? [-Werror=implicit-function-declaration]
887 | rc = ksmbd_vfs_fp_rename(work, fp, newname);
| ^~~~~~~~~~~~~~~~~~~
| ksmbd_vfs_rename
I see that there is conditional compilation for different kernel versions in many places (#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)), even two different smb2_rename functions.
But not in/for smb_rename().
The text was updated successfully, but these errors were encountered:
I’ve tried to compile latest released ksmbd version 3.5.0 for vanilla linux LTS kernel 6.6.44 with SMB_INSECURE_SERVER=y (SMBv1 support needed). The following errors occurred during compilation:
I see that there is conditional compilation for different kernel versions in many places (#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0)), even two different smb2_rename functions.
But not in/for smb_rename().
The text was updated successfully, but these errors were encountered: