public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 libdm/mm/pool-fast.c ./WHATS_NEW
@ 2010-10-26 8:59 zkabelac
0 siblings, 0 replies; only message in thread
From: zkabelac @ 2010-10-26 8:59 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-10-26 08:59:05
Modified files:
libdm/mm : pool-fast.c
. : WHATS_NEW
Log message:
Use static indentifier for internal functions
Functions _align_chunk() and _new_chunk() are used only internally inside
pool-fast.c - so keep them static inside this object file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/mm/pool-fast.c.diff?cvsroot=lvm2&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1778&r2=1.1779
--- LVM2/libdm/mm/pool-fast.c 2010/09/30 21:06:52 1.10
+++ LVM2/libdm/mm/pool-fast.c 2010/10/26 08:59:05 1.11
@@ -33,8 +33,8 @@
unsigned object_alignment;
};
-void _align_chunk(struct chunk *c, unsigned alignment);
-struct chunk *_new_chunk(struct dm_pool *p, size_t s);
+static void _align_chunk(struct chunk *c, unsigned alignment);
+static struct chunk *_new_chunk(struct dm_pool *p, size_t s);
static void _free_chunk(struct chunk *c);
/* by default things come out aligned for doubles */
@@ -240,12 +240,12 @@
p->object_alignment = DEFAULT_ALIGNMENT;
}
-void _align_chunk(struct chunk *c, unsigned alignment)
+static void _align_chunk(struct chunk *c, unsigned alignment)
{
c->begin += alignment - ((unsigned long) c->begin & (alignment - 1));
}
-struct chunk *_new_chunk(struct dm_pool *p, size_t s)
+static struct chunk *_new_chunk(struct dm_pool *p, size_t s)
{
struct chunk *c;
--- LVM2/WHATS_NEW 2010/10/26 01:37:59 1.1778
+++ LVM2/WHATS_NEW 2010/10/26 08:59:05 1.1779
@@ -1,5 +1,6 @@
Version 2.02.76
===================================
+ Use static for internal _align_chunk() and _new_chunk() from pool-fast.c.
Fix vgchange to process -a, --refresh, --monitor and --poll like lvchange.
Add lvm2app functions to query any pv, vg, or lv property / report field.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-26 8:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 8:59 LVM2 libdm/mm/pool-fast.c ./WHATS_NEW zkabelac
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).