[PATCH 1/2] ceph: requalify some char pointers as const

From: Patrick Donnelly
Date: Sat Oct 12 2024 - 21:17:08 EST


From: Patrick Donnelly <pdonnell@xxxxxxxxxx>

Signed-off-by: Patrick Donnelly <pdonnell@xxxxxxxxxx>
---
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 73f321b52895..42bdbe5b7ef9 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -286,7 +286,7 @@ static int ceph_parse_new_source(const char *dev_name, const char *dev_name_end,
struct ceph_fsid fsid;
struct ceph_parse_opts_ctx *pctx = fc->fs_private;
struct ceph_mount_options *fsopt = pctx->opts;
- char *fsid_start, *fs_name_start;
+ const char *fsid_start, *fs_name_start;

if (*dev_name_end != '=') {
dout("separator '=' missing in source");

base-commit: 7234e2ea0edd00bfb6bb2159e55878c19885ce68
--
Patrick Donnelly, Ph.D.
He / Him / His
Red Hat Partner Engineer
IBM, Inc.
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D