Improve VERIFY() error in dmu_write()
This is a debug patch designed to ensure an error code is logged to the console when this VERIFY() is hit. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ned Bass <bass6@llnl.gov> Issue #1440
This commit is contained in:
parent
8878261fc9
commit
e6659763c6
@ -814,7 +814,7 @@ dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
|
||||
if (size == 0)
|
||||
return;
|
||||
|
||||
VERIFY(0 == dmu_buf_hold_array(os, object, offset, size,
|
||||
VERIFY0(dmu_buf_hold_array(os, object, offset, size,
|
||||
FALSE, FTAG, &numbufs, &dbp));
|
||||
|
||||
for (i = 0; i < numbufs; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user