summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-02-13 14:55:17 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-02-13 23:24:05 -0500
commit4267c9561d9c3bb2abf45abed9c75a1c892d7d15 (patch)
treecc2d15122ac06bebb25c87b53dc61e387c70f350 /fs/nfs
parent8e60029f403781b8a63b7ffdb7dc1faff6ca651e (diff)
downloadop-kernel-dev-4267c9561d9c3bb2abf45abed9c75a1c892d7d15.zip
op-kernel-dev-4267c9561d9c3bb2abf45abed9c75a1c892d7d15.tar.gz
NFS: Allow text-based mounts via compat_sys_mount
The compat_sys_mount() system call throws EINVAL for text-based NFSv4 mounts. The text-based mount interface assumes that any mount option blob that doesn't set the version field to "1" is a C string (ie not a legacy mount request). The compat_sys_mount() call treats blobs that don't set the version field to "1" as an error. We just relax the check in compat_sys_mount() a bit to allow C strings to be passed down to the NFSv4 client. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud