mount.nfs: Refactor parse_devname and fill_ipv4_addr
authorChuck Lever <chuck.lever@oracle.com>
Fri, 24 Aug 2007 17:11:32 +0000 (13:11 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 22:19:33 +0000 (08:19 +1000)
commitb4c9ca0c8b132f36743e324766b8532eb623e98e
tree6e77955aa4bb90a8304043a20b3de75ce3d37e58
parent1545835aa9dc100b0fedaeaf71e716d12e25b439
mount.nfs: Refactor parse_devname and fill_ipv4_addr

We will eventually need the server address in both append_addr_opt()
and append_clientaddr_opt().  Call parse_devname() and fill_ipv4_addr()
from the top level functions.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/stropts.c