aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-10-11 01:49:58 -0400
committerNeilBrown <neilb@suse.de>2011-10-11 01:49:58 -0400
commit84fc4b56db85cb9e05326424049973a2036c9940 (patch)
treeb8f942766ad620d63da92c24df56032168879253 /drivers/md/md.h
parent29d3247ea2274bca0d0b7f41fcf3b82e0a8bc44c (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.h8
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
185struct mddev { 185struct 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
416struct mdk_personality 416struct 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
554extern int register_md_personality(struct mdk_personality *p); 554extern int register_md_personality(struct md_personality *p);
555extern int unregister_md_personality(struct mdk_personality *p); 555extern int unregister_md_personality(struct md_personality *p);
556extern struct md_thread *md_register_thread( 556extern 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,