diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-07-31 10:03:52 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-31 10:03:52 +1000 |
commit | 473e87ce485ffcac041f7911b33f0b4cd4d6cf2b (patch) | |
tree | 01ae284e058d1805055bf153dd9175f1782181e8 /drivers/ata | |
parent | 0eaf822cb3dfcf2a64b2d27f4f6219186adb2695 (diff) |
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/ata')
0 files changed, 0 insertions, 0 deletions