diff options
author | Neil Brown <neilb@suse.de> | 2008-03-04 09:39:31 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-03-04 09:39:31 -0500 |
commit | f24884196dac4cffc3ae79cf87cf51d892cda46c (patch) | |
tree | 7158eea56cd6a174392a388c8f064a8eb45ddba6 /support/export/rmtab.c | |
parent | d15fa02fe38f6f1c9183540810ac7bfeac0c7c17 (diff) | |
download | nfs-utils-f24884196dac4cffc3ae79cf87cf51d892cda46c.tar.gz nfs-utils-f24884196dac4cffc3ae79cf87cf51d892cda46c.tar.xz nfs-utils-f24884196dac4cffc3ae79cf87cf51d892cda46c.zip |
Stop the kernel export table from being flushed
on MIPS machines.
Reported-by: Anirban Sinha <ASinha@zeugmasystems.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/rmtab.c')
-rw-r--r-- | support/export/rmtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/rmtab.c b/support/export/rmtab.c index 2a882aa..8f392a7 100644 --- a/support/export/rmtab.c +++ b/support/export/rmtab.c @@ -31,7 +31,7 @@ rmtab_read(void) int htype; htype = client_gettype(rep->r_client); - if (htype == MCL_FQDN + if (htype == MCL_FQDN || htype == MCL_SUBNETWORK && (hp = gethostbyname (rep->r_client)) && (hp = hostent_dup (hp), exp = export_allowed (hp, rep->r_path))) { |