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-9059 utils: skip label check for client
[fs/lustre-release.git]
/
lustre
/
utils
/
mount_lustre.c
diff --git
a/lustre/utils/mount_lustre.c
b/lustre/utils/mount_lustre.c
index
1b36529
..
8c597cd
100644
(file)
--- a/
lustre/utils/mount_lustre.c
+++ b/
lustre/utils/mount_lustre.c
@@
-848,7
+848,8
@@
int main(int argc, char *const argv[])
rc = mount(mop.mo_source, mop.mo_target, "lustre",
flags, (void *)options);
if (rc == 0) {
rc = mount(mop.mo_source, mop.mo_target, "lustre",
flags, (void *)options);
if (rc == 0) {
- label_lustre(&mop);
+ if (!client)
+ label_lustre(&mop);
} else {
if (verbose) {
fprintf(stderr, "%s: mount %s at %s "
} else {
if (verbose) {
fprintf(stderr, "%s: mount %s at %s "