« Previous | Next » 

Revision 0caf6485

Parent 770fe0f9
Child 5a47ad20

Added by Iustin Pop over 16 years ago

Improve out-of-minors handling

Currently, the out-of-minors handling is not very good: though both MD
and DRBD functions for finding an unused minor can return None, only the
DRBD code checks for this case.

This patch improves this by making the functions _FindUnusedMinor raise
an error instead of None, and gets rid of the one manual check for the
return value.

Reviewed-by: imsnah


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences