]> 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, 19 Apr 2021 00:20:50 +0000 (19:20 -0500)
commitdab0adcb20fd4e5b3f253c15c81d269df4ecc8c3
treee57f509e9f0ce23f1591e1fe43d99a5b2cf59667
parent6a8bfb995f36e59092c595b7aeb9c6182ca59478
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