Skip to content
Commit b531b55a authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBI: add more checks to chdev open



When opening UBI volumes by their character device names, make
sure we are opening character devices, not block devices or any
other inode type.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent ff998793
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment