]> git.decadent.org.uk Git - nfs-utils.git/commit
text-based mount options: Use new pmap stuffer when rewriting mount options
authorChuck Lever <chuck.lever@oracle.com>
Tue, 27 Jan 2009 22:45:48 +0000 (17:45 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 27 Jan 2009 22:45:48 +0000 (17:45 -0500)
commit9d5ee403d5d4fd27ea41a674ca2e99ca1daa9f25
treef04c077b1a44642622e6504961ab9f749a0a01f3
parentff4f8ea366103d9b82cd2d9f8ced2426215d62b4
text-based mount options: Use new pmap stuffer when rewriting mount options

all nfs_options2pmap() in nfs_rewrite_mount_options() instead of
open-coding the logic to convert mount options to a pmap struct.
The new nfs_options2pmap() function is more careful about avoiding
invalid mount option values, and handles multiply-specified transport
protocol options correctly.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c