diff mbox series

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

Message ID 20241013011642.555987-2-batrick@batbytes.com
State New
Headers show
Series [1/2] ceph: requalify some char pointers as const | expand

Commit Message

Patrick Donnelly Oct. 13, 2024, 1:16 a.m. UTC
From: Patrick Donnelly <pdonnell@redhat.com>

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
---
 fs/ceph/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 7234e2ea0edd00bfb6bb2159e55878c19885ce68
diff mbox series

Patch

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");