summaryrefslogtreecommitdiffstats
path: root/support/nfs/xlog.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-07-26 13:51:51 -0400
committerSteve Dickson <steved@redhat.com>2017-07-26 13:54:04 -0400
commit050153ef6a86ff5ab06ef65be36336824a323779 (patch)
tree5338ebf3b99a378da68afd5f2643ecb3684812d5 /support/nfs/xlog.c
parent1e3ca7fe199531a372bb8e1c1033d8973097be50 (diff)
downloadnfs-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