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-8837 lustre: make uapi...lustre_disk.h unnecessary on client
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_mount.c
diff --git
a/lustre/obdclass/obd_mount.c
b/lustre/obdclass/obd_mount.c
index
bb4dd25
..
bbd5343
100644
(file)
--- a/
lustre/obdclass/obd_mount.c
+++ b/
lustre/obdclass/obd_mount.c
@@
-801,6
+801,7
@@
int server_name2fsname(const char *svname, char *fsname, const char **endptr)
}
EXPORT_SYMBOL(server_name2fsname);
+#ifdef HAVE_SERVER_SUPPORT
/**
* Get service name (svname) from string
* rc < 0 on error
@@
-826,6
+827,7
@@
int server_name2svname(const char *label, char *svname, const char **endptr,
return 0;
}
EXPORT_SYMBOL(server_name2svname);
+#endif /* HAVE_SERVER_SUPPORT */
/**
* check server name is OST.