Re: [PATCH v2] fs/xfs: replace strncpy with memtostr_pad()
From: Carlos Maiolino
Date: Thu Jul 17 2025 - 04:12:07 EST
On Fri, 04 Jul 2025 15:42:50 +0530, Pranav Tyagi wrote:
> Replace the deprecated strncpy() with memtostr_pad(). This also avoids
> the need for separate zeroing using memset(). Mark sb_fname buffer with
> __nonstring as its size is XFSLABEL_MAX and so no terminating NULL for
> sb_fname.
>
>
Applied to for-next, thanks!
[1/1] fs/xfs: replace strncpy with memtostr_pad()
commit: f161da9418910f4ab7a29099682d03e06ef2c3ef
Best regards,
--
Carlos Maiolino <cem@xxxxxxxxxx>