diff options
author | Turbo Fredriksson <[email protected]> | 2012-02-13 10:27:01 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-02-13 09:43:57 -0800 |
commit | d2e032ca9cd62fd0e80cdce30c6d1c40421bf754 (patch) | |
tree | 461906efe7adafbd6d54fc2113c79876b778b3a1 /lib | |
parent | b10c77f70acc188f979ef85e922e854822ac0705 (diff) |
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 <[email protected]>
Closes #570
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libshare/nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |