Skip to content

mount.nfs default version

Benjamin Coddington linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mount.nfs: default enable mount config file (nfsmount.conf)configure.ac+4 -40 replies
2/6mount.nfs: fix a comment typo in parse optionsutils/mount/parse_opt.c+1 -10 replies
3/6mount.nfs: parse options - add helper po_contains_prefixutils/mount/parse_opt.c utils/mount/parse_opt.h+26 -00 replies
4/6mount.nfs: Add struct nfs_version and generalize version parsingutils/mount/configfile.c utils/mount/network.c utils/mount/network.h +2 more+88 -770 replies
5/6nfsmount.conf: Always parse versionsutils/mount/configfile.c+0 -340 replies
6/6mount.nfs: configurable minor version defaultsutils/mount/stropts.c+95 -430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] mount.nfs default version

Here's the work posted yesterday broken out a bit with an addition of enabling nfsmount.conf by default, and the change to autonegotiate starting with version 4.2 (instead of 4.0) when no version is specified in either config or mount option.

Benjamin Coddington (6):
mount.nfs: default enable mount config file (nfsmount.conf) mount.nfs: fix a comment typo in parse options mount.nfs: parse options - add helper po_contains_prefix mount.nfs: Add struct nfs_version and generalize version parsing nfsmount.conf: Always parse versions
mount.nfs: configurable minor version defaults

 configure.ac             |    8 +-
 utils/mount/configfile.c |   36 +-----------
 utils/mount/network.c    |  122 ++++++++++++++++++-------------------
 utils/mount/network.h    |   15 ++++-
 utils/mount/nfsumount.c  |    4 +-
 utils/mount/parse_opt.c  |   26 ++++++++-
 utils/mount/parse_opt.h  |    2 +
 utils/mount/stropts.c    |  150 +++++++++++++++++++++++++++++++---------------
 8 files changed, 209 insertions(+), 154 deletions(-)