Tag: eaecf43a6970c8d0ef54a31427c82a99e4863fe8

UBIFS: Use kmemdup rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer Signed-off-by: Artem Bityutskiy — fs/ubifs/lpt.c | 6 ++—- fs/ubifs/tnc.c | 3 +– fs/ubifs/xattr.c | 6 ++—- 3 files changed, 5 insertions(+), 10 deletions(-)   diff –git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c index 6189c74..66d59d0 100644 — a/fs/ubifs/lpt.c +++ b/fs/ubifs/lpt.c @@ -1986,12 …

Continue reading