Re: omfs: make use of kmemdup
From: Markus Elfring
Date: Sat Sep 14 2019 - 02:25:27 EST
> Replace call to kmalloc followed by memcpy with a direct call
> to kmemdup to achieve same functionality.
I suggest to take another look at a similar patch.
fs/omfs: make use of kmemdup
https://lore.kernel.org/r/20190721112326.GA5927@hari-Inspiron-1545/
https://lore.kernel.org/patchwork/patch/1102482/
https://lkml.org/lkml/2019/7/21/40
Regards,
Markus