]> www.infradead.org Git - users/hch/misc.git/commitdiff
ceph: requalify some char pointers as const
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 13 Oct 2024 01:13:13 +0000 (21:13 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 18 Nov 2024 16:34:36 +0000 (17:34 +0100)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c

index 86480e5a215e512bd159552b6592221e4885c63f..de03cd6eb86ee41cb521f83f6110467f9a8e0eeb 100644 (file)
@@ -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");