exportfs: warn when really nothing is exported

Throw 'No file systems exported!' iff no volume is exported rather
then if some exports file is empty.  Typically this can happen if
the default /etc/exports file is empty and admin installed
configuration into /etc/exports.d directory.

This is follow-up for e725def62c73b4 commit.

Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
mountstats: Sort RPC statistics by operation count

Sort the RPC statistics in descending order by operation count, so
that the most frequently executed operation appears at the top of
the listing (a la `top`).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Add string.h to source files that need it

Signed-off-by: Steve Dickson <steved@redhat.com>
mountd: talk to kernel using file descriptors instead of FILE

Signed-off-by: Steve Dickson <steved@redhat.com>
gssd: talk to kernel using file descriptors instead of FILE

Signed-off-by: Steve Dickson <steved@redhat.com>
nfsexport: talk to kernel using file descriptors instead of FILE

Signed-off-by: Steve Dickson <steved@redhat.com>
nfslib: remove now unused FILE helpers

All access to kernel is now done using file descriptors.

Signed-off-by: Timo Ter?s <timo.teras@iki.fi>
Signed-off-by: Steve Dickson <steved@redhat.com>
Fix up issue with "make dist"

Add mention of new files, remove mention of old files,
and cause "make dist" to create something very similar to
the current distributions.

systemd files are not currently included in "make dist" and some
files generated by "rpcgen" are (though they aren't in official
distribution).

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Include systemd unit files in "dist" and "install".

New configure option "--with-systemd" will causes systemd
unit files to be installed in /usr/lib/systemd/system.
Alternalte a path can be given:
    --with-systemd=/lib/systemd/system

Also, systemd files get included in "make dist" now.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>