]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix parsing of mount options specified with -o in case an option with
authorjh <jh@FreeBSD.org>
Mon, 26 Oct 2009 14:57:33 +0000 (14:57 +0000)
committerjh <jh@FreeBSD.org>
Mon, 26 Oct 2009 14:57:33 +0000 (14:57 +0000)
commita593969284aa70449e35a97727d9e229eb7601b3
tree3ec58accda0361fa1a5179194c8ca0b89321375b
parentd8453107ccb73ea8352badbacf532dbea63c07bb
Fix parsing of mount options specified with -o in case an option with
value is preceded by an option without value (for example -o
option1,option2=value). Options must be separated before searching for
'='. Also compare pnextopt explicitly against NULL.

PR: bin/134069
Approved by: trasz (mentor)
sbin/mount_nfs/mount_nfs.c