diff options
author | NeilBrown <neilb@suse.com> | 2017-07-26 13:51:51 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-07-26 13:54:04 -0400 |
commit | 050153ef6a86ff5ab06ef65be36336824a323779 (patch) | |
tree | 5338ebf3b99a378da68afd5f2643ecb3684812d5 /support/nfs/xlog.c | |
parent | 1e3ca7fe199531a372bb8e1c1033d8973097be50 (diff) | |
download | nfs-utils-050153ef6a86ff5ab06ef65be36336824a323779.tar.gz nfs-utils-050153ef6a86ff5ab06ef65be36336824a323779.tar.xz nfs-utils-050153ef6a86ff5ab06ef65be36336824a323779.zip |
mount: Fix problems with parsing minorversion=
1/ minorversion=0 is not recognized, as errors from
strtol() are not correctly detected.
2/ when there is an error in the minorversion= value,
no message is presented.
3/ Current code recognizes "minorversion" and sets V_SPECIFIC,
but then because *cptr == '\0', the v_mode is reset to V_GENERAL.
This results in minorversion negotiation, which is not wanted.
This patch addresses all of these.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions