Skip to content
Commit 306bb73d authored by Al Viro's avatar Al Viro
Browse files

fix the crap in dst/dcore



* don't reinvent the wheels, please - open_bdev_exclusive() is there
  for purpose
* both open_by_devnum() and open_bdev_exclusive() return ERR_PTR(...)
  upon error, not NULL

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6de88d72
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