diff options
author | NeilBrown <neilb@suse.de> | 2011-10-11 01:49:58 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-11 01:49:58 -0400 |
commit | 84fc4b56db85cb9e05326424049973a2036c9940 (patch) | |
tree | b8f942766ad620d63da92c24df56032168879253 /drivers/md/md.h | |
parent | 29d3247ea2274bca0d0b7f41fcf3b82e0a8bc44c (diff) |
md: rename "mdk_personality" to "md_personality"
"mdk" doesn't mean anything any more.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index b618da59ca1c..51c1d91557e0 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -184,7 +184,7 @@ extern void md_ack_all_badblocks(struct badblocks *bb); | |||
184 | 184 | ||
185 | struct mddev { | 185 | struct mddev { |
186 | void *private; | 186 | void *private; |
187 | struct mdk_personality *pers; | 187 | struct md_personality *pers; |
188 | dev_t unit; | 188 | dev_t unit; |
189 | int md_minor; | 189 | int md_minor; |
190 | struct list_head disks; | 190 | struct list_head disks; |
@@ -413,7 +413,7 @@ static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sect | |||
413 | atomic_add(nr_sectors, &bdev->bd_contains->bd_disk->sync_io); | 413 | atomic_add(nr_sectors, &bdev->bd_contains->bd_disk->sync_io); |
414 | } | 414 | } |
415 | 415 | ||
416 | struct mdk_personality | 416 | struct md_personality |
417 | { | 417 | { |
418 | char *name; | 418 | char *name; |
419 | int level; | 419 | int level; |
@@ -551,8 +551,8 @@ static inline void safe_put_page(struct page *p) | |||
551 | if (p) put_page(p); | 551 | if (p) put_page(p); |
552 | } | 552 | } |
553 | 553 | ||
554 | extern int register_md_personality(struct mdk_personality *p); | 554 | extern int register_md_personality(struct md_personality *p); |
555 | extern int unregister_md_personality(struct mdk_personality *p); | 555 | extern int unregister_md_personality(struct md_personality *p); |
556 | extern struct md_thread *md_register_thread( | 556 | extern struct md_thread *md_register_thread( |
557 | void (*run)(struct mddev *mddev), | 557 | void (*run)(struct mddev *mddev), |
558 | struct mddev *mddev, | 558 | struct mddev *mddev, |