Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not upgrade userobj accounting for snapshot dataset
'zfs recv' could disown a living objset without calling dmu_objset_disown(). This will cause the problem that the objset would be released while upgrading thread is still running. This patch avoids the problem by checking if a dataset is snapshot before calling dmu_objset_userobjspace_upgrade(). ZoL-bug-id: #5295 Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
- Loading branch information