]> git.baikalelectronics.ru Git - kernel.git/commit
md: introduce link/unlink_rdev() helpers
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
commit9db1b7194376c37d68cad08ac36bc86f53c7c8c3
tree95f8a7a6b8dad6bb8d7c7735f7845888b5e702db
parent7459bccec8ba5077aeed6bc01166d177fc5f6247
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>
drivers/md/md.c
drivers/md/md.h
drivers/md/raid1.c
drivers/md/raid5.c