From: Patrick Donnelly Date: Sun, 13 Oct 2024 01:13:13 +0000 (-0400) Subject: ceph: requalify some char pointers as const X-Git-Tag: v6.13-rc1~21^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64cf95d0b1084860f75f7bf24fdaa88794dccc80;p=thirdparty%2Fkernel%2Flinux.git ceph: requalify some char pointers as const Signed-off-by: Patrick Donnelly Reviewed-by: Ilya Dryomov Signed-off-by: Ilya Dryomov --- diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 86480e5a215e5..de03cd6eb86ee 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -288,7 +288,7 @@ static int ceph_parse_new_source(const char *dev_name, const char *dev_name_end, struct ceph_options *opts = pctx->copts; struct ceph_mount_options *fsopt = pctx->opts; const char *name_start = dev_name; - char *fsid_start, *fs_name_start; + const char *fsid_start, *fs_name_start; if (*dev_name_end != '=') { dout("separator '=' missing in source");