diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-12-11 10:37:02 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-12-11 16:13:16 -0500 |
commit | 5ba18c11f31a135c6eeab67e820c271f87004793 (patch) | |
tree | 7a734d40613ef503b8738105faaca260e3394064 /support/export/export.c | |
parent | 626010056efb7baa76b08b5e6572720e02e425b4 (diff) | |
download | nfs-utils-5ba18c11f31a135c6eeab67e820c271f87004793.tar.gz nfs-utils-5ba18c11f31a135c6eeab67e820c271f87004793.tar.xz nfs-utils-5ba18c11f31a135c6eeab67e820c271f87004793.zip |
mount.nfs: support netids in nfs_options2pmap()
When parsing mount options in nfs_options2pmap(), treat the value of
proto= (and mountproto=) as a netid by looking it up in local
netconfig and protocol databases to convert it to a protocol number.
If TI-RPC is not available, the traditional behavior is preserved.
The meaning of the "udp" and "tcp" mount options is not affected by
this change.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions