]> granicus.if.org Git - zfs/commit
Remove unconditional sharetab update
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 17:31:38 +0000 (09:31 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Jan 2014 17:48:09 +0000 (09:48 -0800)
commit4dad7d91e24875f077e26808fec900224e97dcb2
tree9877044973189981daa14f0ada856efeb8190047
parente07306687d0862e8d43b5a0e32003748dedcfa3b
Remove unconditional sharetab update

Removes the unconditional sharetab update when running any zfs
command. This means the sharetab might become out of date if
users are manually adding/removing shares with exportfs.  But
we shouldn't punish all callers to zfs in order to handle that
unlikely case. In the unlikely event we observe issues because
of this it can always be added back to just the share/unshare
call paths where we need an up to date sharetab.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Issue #845
lib/libshare/libshare.c