fix the crap in dst/dcore
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Aug 2009 21:58:52 +0000 (01:58 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:44 +0000 (12:16 -0500)
commit306bb73d12f13684ffcd735838c3e6f7515ab626
treed66d10a4ed03f325194a595a7b6e87d8c0f21206
parent6de88d72927dc85297b3075024487313c4ba3a2e
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: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/dst/dcore.c