]> www.infradead.org Git - users/hch/nvmetcli.git/commit
nvmet: improve enable semantics
authorChristoph Hellwig <hch@lst.de>
Sat, 26 Mar 2016 10:35:20 +0000 (11:35 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 Mar 2016 10:36:09 +0000 (11:36 +0100)
commit31d82d1bc32b13a45ac8902973c550911273ad1a
treee0a4a2ce0002e3956ca0832a9b76abe652941cb8
parent6494607759b0b36546b9a0ab0380ac93113c7cd5
nvmet: improve enable semantics

Allow for a None state of the _enable variable, and use that fact to
automatically set up the enabled state in the primary Node class.

Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmet/nvme.py