]> git.decadent.org.uk Git - nfs-utils.git/commit
nfs-utils: NFSv4: fix backgrounding
authorHarshula Jayasuriya <harshula@redhat.com>
Mon, 16 Nov 2009 18:42:08 +0000 (13:42 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 16 Nov 2009 18:42:08 +0000 (13:42 -0500)
commit29e2293a69a75abf0ce1c85daff0b94c9875d56a
treedb692d175a4fa706ec0dc07ff62cb41858a699a2
parent1cf5510adf8cbf7c342d8fce73f0b62ac1f93612
nfs-utils: NFSv4: fix backgrounding

he nfsmount() function checks if !bg before running
switch(rpc_createerr.cf_stat). On the other hand, the nfs4mount()
function does not, and results in exiting the loop on the first
iteration even with the bg mount option.

NOTE: This and the previous patch ("nfs-utils: mount options can be lost
when using bg option") are relevant to non text-based mount options.

See https://bugzilla.redhat.com/show_bug.cgi?id=529370 for details.

Signed-off-by: Harshula Jayasuriya <harshula@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/nfs4mount.c