]> git.proxmox.com Git - mirror_zfs.git/commit
Remove zfs_sync() panicking kernel check
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Jan 2019 19:11:47 +0000 (11:11 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Jan 2019 19:11:47 +0000 (11:11 -0800)
commitad635071355255a43469daa41fd411881407d861
treef443faa15c64916efe9dea69a8e361cc628f620e
parentb194fab0fb6caad18711abccaff3c69ad8b3f6d3
Remove zfs_sync() panicking kernel check

This check provides no real additional protection and unnecessarily
introduces a dependency on the "oops_in_progress" kernel symbol.
Remove the check, it there are special circumstances on other
platforms which make this a requirement it can be reintroduced
for all relevant call paths in a more portable comprehensive manor.

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8297
module/zfs/zfs_vfsops.c