Author: Andrzej Hajda <a.hajda@samsung.com> 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 Reviewed-by: Richard Weinberger Signed-off-by: Artem Bityutskiy — fs/ubifs/lpt.c | 6 ++—- fs/ubifs/tnc.c | 3 +– 2 files changed, 3 insertions(+), 6 deletions(-) diff –git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c index dc9f27e..9a51710 100644 — a/fs/ubifs/lpt.c +++ b/fs/ubifs/lpt.c @@ …