]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add nfs_alloc_parsed_mount_data
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Sep 2009 18:36:38 +0000 (14:36 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 23 Sep 2009 18:36:38 +0000 (14:36 -0400)
commit14ff5c1c941b4563fa75eeedee9e534acfdf4494
tree3d43b5d0bd90526f64d5f3950f25e539fa14ed63
parent6c1f7d161fca32a6f84c579486da226fd5a4ca4c
NFS: Add nfs_alloc_parsed_mount_data

Allocating nfs_parsed_mount_data and setting up the defaults is nearly
the same for both nfs and nfs4 mounts.

Both paths seem to use nfs_validate_transport_protocol(), so setting a
default value for nfs_server.protocol ought to be unnecessary.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c