Skip to content

minorversion= is being ignored

Steve Dickson linux-nfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mount.nfs: minorversion setting is being ignored with the -t flagutils/mount/network.c utils/mount/stropts.c+25 -51 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH 0/1 V2] minorversion= is being ignored

This patch ensure "mount -t" mounts that have the minorversion= flag set, the given minor version is used.

There has been some talk about deprecating the minorversion option which it appears to be fairly simple in the kernel, but I think would be pretty difficult in the userland, do to all the per-existing scripts that used the option.

To make the deprecation possible in the kernel, code was added to convert minorversion= into vers=4.x in the string that passed to the kernel when the kernel is later than v3.4

Steve Dickson (1):
mount.nfs: minorversion setting is being ignored with the -t flag

 utils/mount/network.c | 15 ++++++++++-----
 utils/mount/stropts.c | 15 +++++++++++++++
 2 files changed, 25 insertions(+), 5 deletions(-)
Signature · 1 line
2.14.3