UBIFS: use kmemdup rather than duplicating its implementation
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 7 Aug 2015 07:59:31 +0000 (09:59 +0200)
committerRichard Weinberger <richard@nod.at>
Sat, 3 Oct 2015 18:03:14 +0000 (20:03 +0200)
commitbbc8a0044fb27da5fadb7efbfb472aed00c58e72
tree65097afa4e508ec629c26bdf3302cb9d510220e0
parent9ffecb10283508260936b96022d4ee43a7798b4c
UBIFS: use kmemdup rather than duplicating its implementation

The patch was generated using fixed coccinelle semantic patch
scripts/coccinelle/api/memdup.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2014320

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/lpt.c
fs/ubifs/tnc.c