Suppress share error on mount
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Feb 2011 19:05:55 +0000 (11:05 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Feb 2011 19:05:55 +0000 (11:05 -0800)
commit07bd86718b74b2d8e0f633f1b80e976892eaf329
tree2ae415e80a637cdd7adef660bf7f00ecebc3c04a
parenta6695d83b763aaeeeeb6d4bdb57ed59a384106f7
Suppress share error on mount

Until code is added to support automatically sharing datasets
we should return success instead of failure.  This prevents the
command line tools from returning a non-zero error code.  While
a user likely won't notice this, test scripts like zconfig.sh
do and correctly fail because of it.
lib/libzfs/libzfs_mount.c