]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: fix implicit declaration of function 'locks_alloc_lock'
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 30 Mar 2021 05:49:16 +0000 (14:49 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 12 Apr 2021 04:22:20 +0000 (23:22 -0500)
commit054eee7af3424eb468c80eeddaa606a0cf24fee6
tree65497d552b0e805b57c0c8fcbb2294e09cf3c9c5
parent1d0c7207fbdbca823f445ab3b6107c5a0ae71ed6
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 <rdunlap@infradead.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/Kconfig