On Oct 23, 2009, at 10:20 AM, J. Bruce Fields wrote:
On Wed, Oct 21, 2009 at 04:31:30PM -0400, Steve Dickson wrote:
On 10/21/2009 01:37 PM, Chuck Lever wrote:
That should be simple to implement by having nfs_nfs_version
leave *version set to zero if the defaultvers= option is
rightmost, and
then have the new logic you added in nfs_validate_options()
additionally
strip off defaultvers= before going ahead with the mount attempts.
Does that make sense?
Yes. but you are assuming defaultvers is a valid mount option and
it is
not. So when/if it does, we can have this discussion then... Plus
what we have today works just fine and if we want to do tweaks like
this
later on, so be it...
It may be hard to change the meaning of "defaultvers" (or whatever)
once
it's in use.
I agree. I can have a mount.nfs implementation of defaultvers= for
you very quickly, FYI.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html