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:
parent
dc9dcb3d35
commit
7089e02ce1
@ -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.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user