aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2021-03-30 14:49:16 +0900
committerSteve French <[email protected]>2021-05-10 19:15:31 -0500
commit17af7d5b8a95bd9ea93edebe7f79a82709a17f2d (patch)
tree43b8ee4ad2bbb70611224efa66a96e8b8b2f5175
parenta36abeaaf00f8bd07af4b530f12b9a64dc15c777 (diff)
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 <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
-rw-r--r--fs/cifsd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifsd/Kconfig b/fs/cifsd/Kconfig
index 37fd9124129b..d1ac53c83125 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