From: Namjae Jeon Date: Tue, 30 Mar 2021 05:49:16 +0000 (+0900) Subject: cifsd: fix implicit declaration of function 'locks_alloc_lock' X-Git-Tag: v5.15-rc1~183^2~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17af7d5b8a95bd9ea93edebe7f79a82709a17f2d;p=thirdparty%2Fkernel%2Flinux.git cifsd: fix implicit declaration of function 'locks_alloc_lock' Randy reported build failure: ../fs/cifsd/smb2pdu.c:6655:7: error: implicit declaration of function 'locks_alloc_lock'; did you mean 'locks_copy_lock'? This patch add depend on FILE_LOCKING. Reported-by: Randy Dunlap Signed-off-by: Namjae Jeon Signed-off-by: Steve French --- diff --git a/fs/cifsd/Kconfig b/fs/cifsd/Kconfig index 37fd9124129bb..d1ac53c831253 100644 --- a/fs/cifsd/Kconfig +++ b/fs/cifsd/Kconfig @@ -2,6 +2,7 @@ config SMB_SERVER tristate "SMB server support (EXPERIMENTAL)" depends on INET depends on MULTIUSER + depends on FILE_LOCKING select NLS select NLS_UTF8 select CRYPTO