Skip to content

Commit 64cf95d

Browse files
batrickidryomov
authored andcommitted
ceph: requalify some char pointers as const
Signed-off-by: Patrick Donnelly <[email protected]> Reviewed-by: Ilya Dryomov <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 955710a commit 64cf95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ceph/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static int ceph_parse_new_source(const char *dev_name, const char *dev_name_end,
288288
struct ceph_options *opts = pctx->copts;
289289
struct ceph_mount_options *fsopt = pctx->opts;
290290
const char *name_start = dev_name;
291-
char *fsid_start, *fs_name_start;
291+
const char *fsid_start, *fs_name_start;
292292

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

0 commit comments

Comments
 (0)