diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-07-31 02:03:52 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-31 02:03:52 +0200 |
commit | 473e87ce485ffcac041f7911b33f0b4cd4d6cf2b (patch) | |
tree | 01ae284e058d1805055bf153dd9175f1782181e8 /drivers/mtd/mtdpart.c | |
parent | MD RAID1: rename mirror_info structure (diff) | |
download | linux-473e87ce485ffcac041f7911b33f0b4cd4d6cf2b.tar.xz linux-473e87ce485ffcac041f7911b33f0b4cd4d6cf2b.zip |
MD: Move macros from raid1*.h to raid1*.c
MD RAID1/RAID10: Move some macros from .h file to .c file
There are three macros (IO_BLOCKED,IO_MADE_GOOD,BIO_SPECIAL) which are defined
in both raid1.h and raid10.h. They are only used in there respective .c files.
However, if we wish to make RAID10 accessible to the device-mapper RAID
target (dm-raid.c), then we need to move these macros into the .c files where
they are used so that they do not conflict with each other.
The macros from the two files are identical and could be moved into md.h, but
I chose to leave the duplication and have them remain in the personality
files.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
0 files changed, 0 insertions, 0 deletions