diff options
author | Tim Chase <[email protected]> | 2014-06-13 07:45:08 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-07-01 14:14:31 -0700 |
commit | 09c0b8fe5e95935d529e6b5d1135f66b232d271d (patch) | |
tree | 628206439e70e90705b3c699140b18459d96a5af /man/Makefile.am | |
parent | ee4712284cd6c0532b6fb78e23a3799f4ccdd675 (diff) |
Return default value on numeric properties failing the "head check.
Updates 962d52421236fc9cd61d59b4f18cff3276077da9.
The referenced fix to get_numeric_property() caused numeric property
lookups to consider the type of the parent (head) dataset when checking
validity but there are some cases in the caller expects to see the
property's default value even when the lookup is invalid.
One case in which this is true is change_one() which is part of the
renaming infrastructure. It may look up "zoned" on a snapshot of a volume
which is not valid but it expects to see the default value of false.
There may be other, yet unidentified cases in which zfs_prop_get_int()
is used on technically invalid properties but which expect the property's
default value to be returned.
Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Turbo Fredriksson <[email protected]>
Closes #2320
Diffstat (limited to 'man/Makefile.am')
0 files changed, 0 insertions, 0 deletions