Add 'fsid' mount option to allowed options.

Resolves nfs-utils-1.0.x compatibility issue which requires
that the fsid be set in the export options.

  exportfs: Warning: /tank/dir requires fsid= for NFS export

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #570
This commit is contained in:
Turbo Fredriksson 2012-02-13 10:27:01 +01:00 committed by Brian Behlendorf
parent b10c77f70a
commit d2e032ca9c
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ get_linux_shareopts_cb(const char *key, const char *value, void *cookie)
strcmp(key, "root_squash") != 0 &&
strcmp(key, "no_root_squash") != 0 &&
strcmp(key, "all_squash") != 0 &&
strcmp(key, "no_all_squash") != 0 &&
strcmp(key, "no_all_squash") != 0 && strcmp(key, "fsid") != 0 &&
strcmp(key, "anonuid") != 0 && strcmp(key, "anongid") != 0) {
return SA_SYNTAX_ERR;
}