From: meyering@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: device-mapper ./WHATS_NEW lib/.exported_symbol ...
Date: 28 Jul 2007 10:48:37 -0000 [thread overview]
Message-ID: <20070728104837.20636.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: meyering@sourceware.org 2007-07-28 10:48:37
Modified files:
. : WHATS_NEW
lib : .exported_symbols libdevmapper.h libdm-file.c
lib/ioctl : libdm-iface.c
Log message:
Export dm_create_dir (was create_dir) to help fix LVM2 link error
* lib/libdm-file.c (dm_create_dir): Rename from create_dir.
* lib/libdevmapper.h (dm_create_dir): Declare.
* lib/.exported_symbols: Add dm_create_dir.
* lib/ioctl/libdm-iface.c (_create_control): Update sole use.
Patch by Jun'ichi Nomura. Details in
http://www.redhat.com/archives/lvm-devel/2007-July/msg00040.html
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.195&r2=1.196
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/.exported_symbols.diff?cvsroot=dm&r1=1.30&r2=1.31
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdevmapper.h.diff?cvsroot=dm&r1=1.71&r2=1.72
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-file.c.diff?cvsroot=dm&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/ioctl/libdm-iface.c.diff?cvsroot=dm&r1=1.44&r2=1.45
--- device-mapper/WHATS_NEW 2007/07/28 10:27:34 1.195
+++ device-mapper/WHATS_NEW 2007/07/28 10:48:36 1.196
@@ -1,5 +1,6 @@
Version 1.02.22 -
================================
+ Export dm_create_dir (was create_dir) to help fix LVM2 link error
Don't log mkdir fail-with-EROFS, to make create_dir equiv to the one in LVM2
Introduce and use log_sys_* macros from LVM2
dm_fclose: new function
--- device-mapper/lib/.exported_symbols 2007/07/24 14:15:45 1.30
+++ device-mapper/lib/.exported_symbols 2007/07/28 10:48:36 1.31
@@ -1,6 +1,7 @@
dm_lib_release
dm_lib_exit
dm_driver_version
+dm_create_dir
dm_fclose
dm_get_library_version
dm_log
--- device-mapper/lib/libdevmapper.h 2007/07/24 14:15:45 1.71
+++ device-mapper/lib/libdevmapper.h 2007/07/28 10:48:36 1.72
@@ -629,6 +629,12 @@
**************************/
/*
+ * Create a directory (with parent directories if necessary).
+ * Returns 1 on success, 0 on failure.
+ */
+int dm_create_dir(const char *dir);
+
+/*
* Close a stream, with nicer error checking than fclose's.
* Derived from gnulib's close-stream.c.
*
--- device-mapper/lib/libdm-file.c 2007/07/28 10:27:34 1.7
+++ device-mapper/lib/libdm-file.c 2007/07/28 10:48:36 1.8
@@ -55,7 +55,7 @@
return r;
}
-int create_dir(const char *dir)
+int dm_create_dir(const char *dir)
{
struct stat info;
--- device-mapper/lib/ioctl/libdm-iface.c 2007/07/28 10:23:02 1.44
+++ device-mapper/lib/ioctl/libdm-iface.c 2007/07/28 10:48:36 1.45
@@ -225,7 +225,7 @@
return 0;
old_umask = umask(0022);
- ret = create_dir(dm_dir());
+ ret = dm_create_dir(dm_dir());
umask(old_umask);
if (!ret)
next reply other threads:[~2007-07-28 10:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 10:48 meyering [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-20 0:11 device-mapper ./WHATS_NEW lib/.exported_symbol agk
2007-07-24 14:15 meyering
2007-01-09 19:44 agk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070728104837.20636.qmail@sourceware.org \
--to=meyering@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.