From d2e032ca9cd62fd0e80cdce30c6d1c40421bf754 Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Mon, 13 Feb 2012 10:27:01 +0100 Subject: 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 Closes #570 --- lib/libshare/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libshare') diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c index 22e306d43..56725d27c 100644 --- a/lib/libshare/nfs.c +++ b/lib/libshare/nfs.c @@ -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; } -- cgit v1.2.3