summaryrefslogtreecommitdiff
path: root/fs/ceph
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-10-12 21:13:13 -0400
committerIlya Dryomov <idryomov@gmail.com>2024-11-18 17:34:36 +0100
commit64cf95d0b1084860f75f7bf24fdaa88794dccc80 (patch)
tree720483f2c24d18c328b89f1dcd73b39132e1fcae /fs/ceph
parent955710afcb3bb63e21e186451ed5eba85fa14d0b (diff)
ceph: requalify some char pointers as const
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 86480e5a215e..de03cd6eb86e 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");