From 64cf95d0b1084860f75f7bf24fdaa88794dccc80 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sat, 12 Oct 2024 21:13:13 -0400 Subject: [PATCH] ceph: requalify some char pointers as const Signed-off-by: Patrick Donnelly Reviewed-by: Ilya Dryomov Signed-off-by: Ilya Dryomov --- fs/ceph/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");