NFS: dont allow minorversion= opt when vers != 4
authorWeston Andros Adamson <dros@netapp.com>
Wed, 1 Feb 2012 19:06:41 +0000 (14:06 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:52 +0000 (00:19 -0500)
commit571b7554016941ef0f0c3c61be72561e2bc55f5e
treea8ad7cc44feb613af22775211d377606c737b575
parent2f09c24216cd789653eb8efbf8be88409eb8d581
NFS: dont allow minorversion= opt when vers != 4

Don't allow invalid 'vers' and 'minorversion' combinations in mount options,
such as "vers=3,minorversion=1".

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c