Add kmemdup
We have kmemdup as a UBIFS specific variant, put it into the correct
header files. Instead of reimplementing it just use memdup we already
have.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent edf126f commit d99f10db6da95af5d878866c3504fdb5b774e068
@Sascha Hauer Sascha Hauer authored on 2 Oct 2018
Showing 4 changed files
View
fs/ubifs/ubifs.c
View
fs/ubifs/ubifs.h
View
include/linux/string.h
View
include/string.h