]> git.decadent.org.uk Git - nfs-utils.git/commit
text-based mount.nfs: add function to do foreground retries
authorChuck Lever <chuck.lever@oracle.com>
Wed, 10 Oct 2007 19:06:41 +0000 (15:06 -0400)
committerNeil Brown <neilb@suse.de>
Thu, 11 Oct 2007 01:03:18 +0000 (11:03 +1000)
commit8c562efffb0e4e4e084f9605d0b9e1468b642eb4
tree97bdcfe9ddc86fcdd4e6b9b0ecc3a60700299d19
parent4ce9ddfb03de06e90fb4cf0eb5767cb0e3a98905
text-based mount.nfs: add function to do foreground retries

Make the differences between the foreground and background mount logic
explicit by creating separate functions to handle each -- think of them as
separate scripts for doing a foreground or a background mount.

NFS foreground mounts are supposed to retry for a little while before
giving up.  Add a function to handle this.

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