block: allow block info /dev/ubi?_?
authorDaniel Golle <daniel@makrotopia.org>
Wed, 20 Jul 2016 23:57:50 +0000 (01:57 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 21 Jul 2016 00:30:56 +0000 (02:30 +0200)
commit6a8fae38791572d72d4241856b5704684a8ee7c6
tree08289252117af1fdf4c38a215ab38bdae1e56c18
parentb98642a50b0cd11696eaad151638f8cf9d153c40
block: allow block info /dev/ubi?_?

Allow querying /dev/ubi?_? devices though they are not block devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c