Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13314 utils: fix lfs find time calculation margin
[fs/lustre-release.git]
/
lustre
/
utils
/
mount_utils.h
diff --git
a/lustre/utils/mount_utils.h
b/lustre/utils/mount_utils.h
index
f268392
..
604483d
100644
(file)
--- a/
lustre/utils/mount_utils.h
+++ b/
lustre/utils/mount_utils.h
@@
-151,9
+151,9
@@
struct mount_opts {
#ifdef HAVE_SERVER_SUPPORT
int get_mountdata(char *, struct lustre_disk_data *);
#ifdef HAVE_SERVER_SUPPORT
int get_mountdata(char *, struct lustre_disk_data *);
-static inline char *mt_str(enum ldd_mount_type mt)
+static inline c
onst c
har *mt_str(enum ldd_mount_type mt)
{
{
- static c
har *
mount_type_string[] = {
+ static c
onst char * const
mount_type_string[] = {
"ext3",
"ldiskfs",
"smfs",
"ext3",
"ldiskfs",
"smfs",
@@
-164,9
+164,9
@@
static inline char *mt_str(enum ldd_mount_type mt)
return mount_type_string[mt];
}
return mount_type_string[mt];
}
-static inline char *mt_type(enum ldd_mount_type mt)
+static inline c
onst c
har *mt_type(enum ldd_mount_type mt)
{
{
- static c
har *
mount_type_string[] = {
+ static c
onst char * const
mount_type_string[] = {
"osd-ldiskfs",
"osd-ldiskfs",
"osd-smfs",
"osd-ldiskfs",
"osd-ldiskfs",
"osd-smfs",