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
b=15625
[fs/lustre-release.git]
/
lustre
/
utils
/
mount_lustre.c
diff --git
a/lustre/utils/mount_lustre.c
b/lustre/utils/mount_lustre.c
index
916e6ef
..
455f8bc
100644
(file)
--- a/
lustre/utils/mount_lustre.c
+++ b/
lustre/utils/mount_lustre.c
@@
-33,12
+33,12
@@
#include <sys/mount.h>
#include <mntent.h>
#include <getopt.h>
#include <sys/mount.h>
#include <mntent.h>
#include <getopt.h>
-#include <sys/utsname.h>
#include "obdctl.h"
#include <lustre_ver.h>
#include <glob.h>
#include <ctype.h>
#include <limits.h>
#include "obdctl.h"
#include <lustre_ver.h>
#include <glob.h>
#include <ctype.h>
#include <limits.h>
+#include <mount_utils.h>
#define MAX_HW_SECTORS_KB_PATH "queue/max_hw_sectors_kb"
#define MAX_SECTORS_KB_PATH "queue/max_sectors_kb"
#define MAX_HW_SECTORS_KB_PATH "queue/max_hw_sectors_kb"
#define MAX_SECTORS_KB_PATH "queue/max_sectors_kb"
@@
-47,7
+47,7
@@
int verbose = 0;
int nomtab = 0;
int fake = 0;
int force = 0;
int nomtab = 0;
int fake = 0;
int force = 0;
-
static char
*progname = NULL;
+
char
*progname = NULL;
void usage(FILE *out)
{
void usage(FILE *out)
{
@@
-555,6
+555,8
@@
int main(int argc, char *const argv[])
" (may cause reduced IO performance)\n",
argv[0], source);
" (may cause reduced IO performance)\n",
argv[0], source);
+ register_service_tags(usource, source, target);
+
if (!fake)
/* flags and target get to lustre_get_sb, but not
lustre_fill_super. Lustre ignores the flags, but mount
if (!fake)
/* flags and target get to lustre_get_sb, but not
lustre_fill_super. Lustre ignores the flags, but mount