summaryrefslogtreecommitdiff
path: root/fs/ceph/acl.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2018-07-02 10:55:23 +0300
committerIlya Dryomov <idryomov@gmail.com>2018-08-02 22:26:11 +0300
commitdfeb84d4adfda0448b013b8aae2cc5c95eb27ccd (patch)
tree0bb58bff6edace8d84495cfeb9211d80563ec90c /fs/ceph/acl.c
parentb26c047b940003295d3896b7f633a66aab95bebd (diff)
downloadlinux-dfeb84d4adfda0448b013b8aae2cc5c95eb27ccd.tar.xz
ceph: fix incorrect use of strncpy
GCC8 prints following warning: fs/ceph/mds_client.c:3683:2: warning: ‘strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] [ Change to strscpy() while at it. ] Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/acl.c')
0 files changed, 0 insertions, 0 deletions