]> git.decadent.org.uk Git - nfs-utils.git/commit
Retry export if getfh fails.
authorNeilBrown <neilb@suse.de>
Wed, 3 Jun 2009 19:48:08 +0000 (15:48 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 3 Jun 2009 19:48:08 +0000 (15:48 -0400)
commitabf92485ae52bd637d544e2ac73147271b310a14
tree07089784cdf051dbdaa98386eaf371b694acc23f
parentab20f16a06e4f476b6480ddd27da724d14631411
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 <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/mountd.c