linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1 V2] minorversion= is being ignored
@ 2018-02-27 22:13 Steve Dickson
  2018-02-27 22:13 ` [PATCH 1/1 V2] mount.nfs: minorversion setting is being ignored with the -t flag Steve Dickson
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Dickson @ 2018-02-27 22:13 UTC (permalink / raw)
  To: Linux NFS Mailing list

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(-)

-- 
2.14.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-01 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 22:13 [PATCH 0/1 V2] minorversion= is being ignored Steve Dickson
2018-02-27 22:13 ` [PATCH 1/1 V2] mount.nfs: minorversion setting is being ignored with the -t flag Steve Dickson
2018-03-01 18:53   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).