mount.nfs - require statd to be running to mount without nolocks
authorNeil Brown <neilb@suse.de>
Thu, 29 Mar 2007 03:08:04 +0000 (13:08 +1000)
committerNeil Brown <neilb@suse.de>
Thu, 29 Mar 2007 03:08:04 +0000 (13:08 +1000)
commite8a29cc56f3bf9b550b0f4f4876f23ca379d3e14
tree2be6f1fea7e972452f920776905aca52b8a89d3b
parent25001e18ff31933d1f40b510da969a8cee317310
mount.nfs - require statd to be running to mount without nolocks

If we are mounting nfsv2 or nfsv3 and statd isn't running and we
cannot start statd, then fail the mount request.

Also use an RPC ping to check on statd.

Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c
utils/mount/nfsmount.c