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> |
---|
|
fs/ubifs/ubifs.c |
---|
fs/ubifs/ubifs.h |
---|
include/linux/string.h |
---|
include/string.h |
---|