Build fails with SLOB in next

From: Tony Lindgren
Date: Thu Mar 08 2018 - 12:29:00 EST


Hi,

Looks like commit 8b1747684ff8 ("dcache: account external names as
indirectly reclaimable memory") caused build fail if SLOB is selected:

fs/dcache.c: In function '__d_free_external':
fs/dcache.c:278:22: error: implicit declaration of function
'kmalloc_index'; did you mean 'kmalloc_ node'?
[-Werror=implicit-function-declaration]
-kmalloc_size(kmalloc_index(bytes)));
^~~~~~~~~~~~~

Is this already fixed somewhere?

Regards,

Tony