• Neil Brown's avatar
    [PATCH] md 15 of 22 - Get rid of kdev_to_mddev · dfdf2be0
    Neil Brown authored
    Only two users of kdev_to_mddev remain, md_release and
    md_queue_proc.
    
    For md_release we can store the mddev in the md_inode
    at md_open time so we can find it easily.
    
    For md_queue_proc, we use mddev_find because we only have the
    device number to work with.  Hopefully the ->queue function
    will get more arguements one day...
    dfdf2be0
md.c 84.4 KB