1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove unused #defines from filter-md.c.

This commit is contained in:
Alasdair Kergon 2006-10-04 16:03:17 +00:00
parent dc9dcb3d35
commit 7089e02ce1
2 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.11 - Version 2.02.11 -
===================================== =====================================
Remove unused #defines from filter-md.c.
Make clvmd restart init script wait until clvmd has died before starting it. 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 -R to clvmd which tells running clvmds to reload their device cache.
Add LV column to reports listing kernel modules needed for activation. Add LV column to reports listing kernel modules needed for activation.

View File

@ -18,14 +18,6 @@
#ifdef linux #ifdef linux
/* Lifted from <linux/raid/md_p.h> 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) static int _ignore_md(struct dev_filter *f, struct device *dev)
{ {
int ret; int ret;