Project

General

Profile

Actions

Feature #3006

closed

VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero

Added by Madhav Suresh about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
kernel
Start date:
2012-07-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
backout
Gerrit CR:

Description

VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero. In addition, libzpool has duplicated assertion code, however with the implementation of assfail in libzpool, it is possible to include <sys/debug.h> in zfs_context.h

Proposed feature is to add VERIFY0, ASSERT0 as a shortcut to this.


Related issues

Related to illumos gate - Bug #3046: crash on boot in zfs_rmnodeResolved2012-08-01

Actions
Actions

Also available in: Atom PDF