summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-07-18 19:07:44 -0700
committerTrond Myklebust <trond.myklebust@fys.uio.no>2002-07-18 19:07:44 -0700
commit70e96bef8aacd89af3601f63d5d1236071d7d901 (patch)
tree3d7c94fd437c5dec51d7f67615ae921569ee8337 /include/linux
parenta0f86742c04040981e3cb29439ca00179a15da0f (diff)
[PATCH] MD - Get rid of find_rdev_all
Get rid of find_rdev_all find_rdev_all is now only used to check if a device is already used in an md array. We change lock_rdev so that it claims the bdev for the specific rdev rather than for rdevs in general. Now lock_rdev will check if the bdev is inuse by another array or not, so the find_rdev_all check isn't needed and is removed, along with find_rdev_all itself. We also make sure that the error code from lock_rdev is propagated up properly.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions