diff options
author | Neil Brown <neilb@suse.de> | 2007-03-19 10:22:22 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-19 10:22:22 +1100 |
commit | e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754 (patch) | |
tree | f9984092a2e1f31e76e62374adb78a996955ae2e /support/include/exportfs.h | |
parent | f5954afaeeee07ca6ded6c4cdcbf965f02f7a670 (diff) | |
download | nfs-utils-e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754.tar.gz nfs-utils-e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754.tar.xz nfs-utils-e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754.zip |
Make warning about host matching multiple exports more helpful.
1/ only warn once per export, as it could get too noisy.
2/ make it a little clearer why this might be a problem.
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r-- | support/include/exportfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 458611b..431b5ce 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -47,7 +47,9 @@ typedef struct mexport { int m_exported; /* known to knfsd. -1 means not sure */ int m_xtabent : 1, /* xtab entry exists */ m_mayexport: 1, /* derived from xtabbed */ - m_changed : 1; /* options (may) have changed */ + m_changed : 1, /* options (may) have changed */ + m_warned : 1; /* warned about multiple exports + * matching one client */ } nfs_export; extern nfs_client * clientlist[MCL_MAXTYPES]; |