Ian Wienand 886f925b13 Use global state to check for duplicate fs labels
As we add file-systems, add them to global state and check the labels
are uniqiue.  Add a unit test and remove the old global value.

Bonus fixup to the length check, and a test for that too.

Change-Id: I0f5a96f687c92e000afc9c98a26c49c4b1d3f28d
2017-06-08 17:13:28 +10:00
..
2017-06-08 17:13:26 +10:00
2017-06-08 17:13:26 +10:00
2017-05-11 18:52:14 +10:00
2017-05-30 14:39:58 +10:00
2017-06-08 17:13:26 +10:00
2017-05-31 11:05:50 +10:00