[PATCH 2/2] erofs: use kmemdup_nul in erofs_fill_symlink
Yiyang Wu
toolmanp at tlmp.cc
Mon Sep 2 16:52:00 AEST 2024
On Mon, Sep 02, 2024 at 01:46:44PM GMT, Gao Xiang wrote:
> Hi Yiyang,
>
> On 2024/9/2 12:51, Yiyang Wu wrote:
> > Remove open coding in erofs_fill_symlink.
> >
> > Suggested-by: Al Viro <viro at zeniv.linux.org.uk>
> > Link: https://lore.kernel.org/all/20240425222847.GN2118490@ZenIV
> > Signed-off-by: Yiyang Wu <toolmanp at tlmp.cc>
>
> Could we lift this patch as [PATCH 1/2]?
>
No problem, it's fine to me.
>
> lnk = kmemdup_nul(kaddr + m_pofs, inode->i_size, GFP_KERNEL);
>
> Missing blank here.
Fixed, thanks for pointing out.
>
> Thanks,
> Gao Xiang
Best Regards,
Yiyang Wu
More information about the Linux-erofs
mailing list