summaryrefslogtreecommitdiffstats
path: root/utils/statd/statd.c
diff options
context:
space:
mode:
authorWolfram Gloger <bugzilla1@malloc.de>2012-10-15 15:31:23 -0400
committerSteve Dickson <steved@redhat.com>2012-10-15 15:31:23 -0400
commit329c63dd7e4e76fc66e8a6058d95c59974ad7db1 (patch)
treed2a2750d4ff285d3751aaa519c50b8ec5ba44975 /utils/statd/statd.c
parentfa7c7b6e590367a2b1dc2ba2d9f5f4500ff29ae3 (diff)
downloadnfs-utils-329c63dd7e4e76fc66e8a6058d95c59974ad7db1.tar.gz
nfs-utils-329c63dd7e4e76fc66e8a6058d95c59974ad7db1.tar.xz
nfs-utils-329c63dd7e4e76fc66e8a6058d95c59974ad7db1.zip
mount.nfs4: Backgrounding mount broken with NFS versions <4
When the NFS version isn't specified in the mount options, mount.nfs attempts V4 first and appends 'vers=4' to the extra_options string in the mount options. If the server isn't immediately reachable, this attempt fails. However, if the background option is specified and the server comes up later on, the extra_options are used again for all further attempts and thus they fail if the server only supports vers<4. Fix this by only amending extra_options on a successful vers=4 mount. This is now Debian bug #690181 and has apparently been around for ages. Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Wolfram Gloger <bugzilla1@malloc.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd/statd.c')
0 files changed, 0 insertions, 0 deletions