summaryrefslogtreecommitdiffstats
path: root/utils/exportfs/exportfs.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-01-27 17:41:02 -0500
committerSteve Dickson <steved@redhat.com>2009-01-27 17:41:02 -0500
commit0dcb83a870926de215307472676096056dabc9b0 (patch)
tree4db3b268848ec4bf0e334d4777de2c5bc259bc80 /utils/exportfs/exportfs.c
parent29ac873f9024c8fcbca38ab09ba54cda3765b746 (diff)
downloadnfs-utils-0dcb83a870926de215307472676096056dabc9b0.tar.gz
nfs-utils-0dcb83a870926de215307472676096056dabc9b0.tar.xz
nfs-utils-0dcb83a870926de215307472676096056dabc9b0.zip
text-based mount command: make po_rightmost() work for N options
Sometimes we need to choose the rightmost option among multiple different mount options. For example, we want to find the rightmost of "proto," "tcp," and "udp". Or, the rightmost of "vers," "nfsvers," "v2," and "v3". Update po_rightmost() to choose among N options instead of just two. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
0 files changed, 0 insertions, 0 deletions