Back out rev. 1.74 because the kernel isn't ready yet
to see NFS specific string options.
This commit is contained in:
parent
fb2ae60938
commit
a83655a35f
@ -283,7 +283,7 @@ main(int argc, char *argv[])
|
|||||||
struct iovec *iov;
|
struct iovec *iov;
|
||||||
int mntflags, altflags, num;
|
int mntflags, altflags, num;
|
||||||
int iovlen;
|
int iovlen;
|
||||||
char *name, *p, *spec, *fstype, *val;
|
char *name, *p, *spec, *fstype;
|
||||||
char mntpath[MAXPATHLEN], errmsg[255];
|
char mntpath[MAXPATHLEN], errmsg[255];
|
||||||
|
|
||||||
mntflags = 0;
|
mntflags = 0;
|
||||||
@ -380,13 +380,6 @@ main(int argc, char *argv[])
|
|||||||
else if (mountmode == V3)
|
else if (mountmode == V3)
|
||||||
altflags |= ALTF_NFSV3;
|
altflags |= ALTF_NFSV3;
|
||||||
getmntopts(optarg, mopts, &mntflags, &altflags);
|
getmntopts(optarg, mopts, &mntflags, &altflags);
|
||||||
p = strchr(optarg, '=');
|
|
||||||
val = NULL;
|
|
||||||
if (p != NULL) {
|
|
||||||
*p = '\0';
|
|
||||||
val = p + 1;
|
|
||||||
}
|
|
||||||
build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
|
|
||||||
set_flags(&altflags, &nfsargsp->flags, FALSE);
|
set_flags(&altflags, &nfsargsp->flags, FALSE);
|
||||||
/*
|
/*
|
||||||
* Handle altflags which don't map directly to
|
* Handle altflags which don't map directly to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user