From: NeilBrown Date: Wed, 3 Jun 2009 19:48:08 +0000 (-0400) Subject: Retry export if getfh fails. X-Git-Tag: nfs-utils-1-2-1-rc1~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=abf92485ae52bd637d544e2ac73147271b310a14;hp=abf92485ae52bd637d544e2ac73147271b310a14;p=nfs-utils.git Retry export if getfh fails. mountd tries to avoid telling the kernel to export something when the kernel already knows to do that. However sometimes (exportfs -r) the kernel can be told to forget something without mountd realising. So if mountd finds that it cannot get a valid filehandle, make sure it really has been exported to the kernel. This only applies if the nfsd filesystem is not mounted. Signed-off-by: NeilBrown Signed-off-by: Steve Dickson ---