md: introduce link/unlink_rdev() helpers
There are places where sysfs links to rdev are handled in a same way. Add the helper functions to consolidate them. Signed-off-by:Namhyung Kim <namhyung@gmail.com> Signed-off-by:
NeilBrown <neilb@suse.de>
Showing
Please register or sign in to comment