diff --git a/WHATS_NEW b/WHATS_NEW index 19072c1b1..be3d93cf2 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.11 - ===================================== + Remove unused #defines from filter-md.c. Make clvmd restart init script wait until clvmd has died before starting it. Add -R to clvmd which tells running clvmds to reload their device cache. Add LV column to reports listing kernel modules needed for activation. diff --git a/lib/filters/filter-md.c b/lib/filters/filter-md.c index 11dbc2e4d..e2e000a12 100644 --- a/lib/filters/filter-md.c +++ b/lib/filters/filter-md.c @@ -18,14 +18,6 @@ #ifdef linux -/* Lifted from because of difficulty including it */ - -#define MD_SB_MAGIC 0xa92b4efc -#define MD_RESERVED_BYTES (64 * 1024) -#define MD_RESERVED_SECTORS (MD_RESERVED_BYTES / 512) -#define MD_NEW_SIZE_SECTORS(x) ((x & ~(MD_RESERVED_SECTORS - 1)) \ - - MD_RESERVED_SECTORS) - static int _ignore_md(struct dev_filter *f, struct device *dev) { int ret;