projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955710a
)
ceph: requalify some char pointers as const
author
Patrick Donnelly
<pdonnell@redhat.com>
Sun, 13 Oct 2024 01:13:13 +0000
(21:13 -0400)
committer
Ilya 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/super.c
b/fs/ceph/super.c
index 86480e5a215e512bd159552b6592221e4885c63f..de03cd6eb86ee41cb521f83f6110467f9a8e0eeb 100644
(file)
--- 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;
+ c
onst c
har *fsid_start, *fs_name_start;
if (*dev_name_end != '=') {
dout("separator '=' missing in source");