The bg option is essentially ignored with nfs4 currently. nfs4mount()
authorJeff Layton <jlaton@redhat.com>
Wed, 7 May 2008 14:35:30 +0000 (10:35 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 7 May 2008 14:35:30 +0000 (10:35 -0400)
commit281ca299724f24e7b19c1eca04bba03410e2a306
tree8e9227d4057a91a1bbc1f18c5902cca98e628e88
parent5f7cc524008a7dc548a71f4c7b0d39759371a37a
The bg option is essentially ignored with nfs4 currently. nfs4mount()
will never exit with EX_BG, so the mount will never be backgrounded.
Fix it so that when bg is specified that we error out with EX_BG as
soon as possible after the first failed mount attempt.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/nfs4mount.c