Skip to content

Commit

Permalink
Add 'fsid' mount option to allowed options.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Closes #570
  • Loading branch information
FransUrbo authored and behlendorf committed Feb 13, 2012
1 parent b10c77f commit d2e032c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libshare/nfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d2e032c

Please sign in to comment.