diff options
| author | 2025-07-04 15:42:50 +0530 | |
|---|---|---|
| committer | 2025-07-24 17:30:14 +0200 | |
| commit | f4a3f01e8e451fb3cb444a95a59964f4bc746902 (patch) | |
| tree | 010bd9c34153e3c15b722dcc9f201e37ccaa735b /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | xfs: Remove unused label in xfs_dax_notify_dev_failure (diff) | |
fs/xfs: replace strncpy with memtostr_pad()
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.
Signed-off-by: Pranav Tyagi <pranav.tyagi03@gmail.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
