aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorBryan Schumaker <[email protected]>2012-06-08 15:32:56 +0000
committerTrond Myklebust <[email protected]>2012-06-09 18:38:59 +0000
commitc5afc8da5b881633717bfc0510792428aa01fa3f (patch)
tree723bf9eacb7e8c4b80c72529ff0610e63914b80e /arch/powerpc/lib/code-patching.c
parentNFS: fix directio refcount bug on commit (diff)
downloadkernel-c5afc8da5b881633717bfc0510792428aa01fa3f.tar.gz
kernel-c5afc8da5b881633717bfc0510792428aa01fa3f.zip
NFS: Use the NFS_DEFAULT_VERSION for v2 and v3 mounts
Older versions of nfs utils don't always pass a "vers=" mount option for NFS. This chould lead to attempts at using NFS v0 due to a zeroed out nfs_parsed_mount_data struct. I solve this by setting the default NFS version to NFS_DEFAULT_VERSION in the v2 and v3 cases (v4 has already been taken care of by a similar patch). Reported-by: Joerg Roedel <joro@&bytes.org> Signed-off-by: Bryan Schumaker <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions