public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW lib/filters/filter-md.c
@ 2006-10-04 16:03 agk
  0 siblings, 0 replies; only message in thread
From: agk @ 2006-10-04 16:03 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2006-10-04 16:03:18

Modified files:
	.              : WHATS_NEW 
	lib/filters    : filter-md.c 

Log message:
	Remove unused #defines from filter-md.c.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.450&r2=1.451
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/filters/filter-md.c.diff?cvsroot=lvm2&r1=1.5&r2=1.6

--- LVM2/WHATS_NEW	2006/10/04 08:42:14	1.450
+++ LVM2/WHATS_NEW	2006/10/04 16:03:17	1.451
@@ -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.
--- LVM2/lib/filters/filter-md.c	2005/10/16 23:03:57	1.5
+++ LVM2/lib/filters/filter-md.c	2006/10/04 16:03:17	1.6
@@ -18,14 +18,6 @@
 
 #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)
 {
 	int ret;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-04 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-04 16:03 LVM2 ./WHATS_NEW lib/filters/filter-md.c agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).