Skip to content

Commit

Permalink
ceph: requalify some char pointers as const
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
  • Loading branch information
Patrick Donnelly authored and Ilya Dryomov committed Nov 18, 2024
1 parent 955710a commit 64cf95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 64cf95d

Please sign in to comment.