OpenSolaris

Printable Version Enter a New Search
Bug ID 6619893
Synopsis spa_prop_add_list() can't fail
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Lin Ling
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_83
Fixed In snv_83
Release Fixed solaris_nevada(snv_83) , solaris_10u6(s10u6_01) (Bug ID:2161000)
Related Bugs
Submit Date 22-October-2007
Last Update Date 29-April-2008
Description
spa_prop_add_list() is a function that returns 0/-1 indicating
success.  However, the nvlist is allocated with KM_SLEEP, so
none of the operations can actually fail.  It might be worth
ASSERT()ing this fact, but it doesn't make sense to propagate
this error back to the caller.
Work Around
N/A
Comments
N/A