« Previous | Next » 

Revision 0caf6485

ID0caf64850b93a82f06124a9af90a8afd83932262
Parent 770fe0f9
Child 5a47ad20

Added by Iustin Pop almost 15 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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences