master - spec: Replace remaining %define by %global
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=19b65a3d76e8e316a11...
Commit: 19b65a3d76e8e316a11c59a690b82bff3203566c
Parent: 7067514c9b3e5af88629799a4bd60614ef776a9d
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Fri Sep 16 17:30:01 2016 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 13:03:24 2017 +0100
spec: Replace remaining %define by %global
---
spec/lvm2.spec | 2 +-
spec/macros.inc | 94 +++++++++++++++++++++++++++---------------------------
2 files changed, 48 insertions(+), 48 deletions(-)
diff --git a/spec/lvm2.spec b/spec/lvm2.spec
index c6373bc..18b1821 100644
--- a/spec/lvm2.spec
+++ b/spec/lvm2.spec
@@ -14,7 +14,7 @@
# on those systems.
# A macro to pull in an include file from an appropriate location.
-%define import() %include %(test -e %{S:%1} && echo %{S:%1} || echo %{_sourcedir}/%1)
+%global import() %%include %%(test -e %%{S:%%1} && echo %%{S:%%1} || echo %%{_sourcedir}/%%1)
%import source.inc
diff --git a/spec/macros.inc b/spec/macros.inc
index 4c4e66b..99ee9a0 100644
--- a/spec/macros.inc
+++ b/spec/macros.inc
@@ -14,70 +14,70 @@
%global rhel 0
%endif
-%define enableif() \
-%global configure_flags %{?configure_flags} --%(if test %1 -gt 0; then echo enable-%2; else echo disable-%2; fi)
+%global enableif() \
+%%global configure_flags %%{?configure_flags} --%%(if test %%1 -gt 0; then echo enable-%%2; else echo disable-%%2; fi)
-%define with() \
-%global configure_flags %(echo -n "%{?configure_flags} " | sed -e "s,--with-%1=[^ ]*,,"; test -n "%{?2}" && echo --with-%1=%2) \
-%global with_flags %(echo -n "%{?with_flags} " | sed -e "s,%1,,"; test -n "%{?2}" && test "%{?2}" != none && echo %1)
+%global with() \
+%%global configure_flags %%(echo -n "%%{?configure_flags} " | sed -e "s,--with-%%1=[^ ]*,,"; test -n "%%{?2}" && echo --with-%%1=%%2) \
+%%global with_flags %%(echo -n "%%{?with_flags} " | sed -e "s,%%1,,"; test -n "%%{?2}" && test "%%{?2}" != none && echo %%1)
%global services monitor
-%define service() \
-%global services %(echo -n "%{?services} " | sed -e s,%1,,; test "%2" = 1 && echo %1)
+%global service() \
+%%global services %%(echo -n "%%{?services} " | sed -e s,%%1,,; test "%%2" = 1 && echo %%1)
-%define maybe() \
-%if %(test -n "%{?2}" && echo 1 || echo 0) \
-%* \
-%endif
+%global maybe() \
+%%if %%(test -n "%%{?2}" && echo 1 || echo 0) \
+%%* \
+%%endif
-%define have_with() %(if echo %{with_flags} | grep -q %1; then echo 1; else echo 0; fi)
-%define have_service() %(if echo %{services} | grep -q %1; then echo 1; else echo 0; fi)
+%global have_with() %%(if echo %%{with_flags} | grep -q %%1; then echo 1; else echo 0; fi)
+%global have_service() %%(if echo %%{services} | grep -q %%1; then echo 1; else echo 0; fi)
-%define daemon_reload \
-%if %{enable_systemd} \
+%global daemon_reload \
+%%if %%{enable_systemd} \
systemctl daemon-reload > /dev/null 2>&1 || : \
-%endif \
+%%endif \
: \
-%{nil}
+%%{nil}
-%define enable(s:t:) \
-%if %{have_service %{-s*}} \
-%if %{enable_systemd} \
+%global enable(s:t:) \
+%%if %%{have_service %%{-s*}} \
+%%if %%{enable_systemd} \
if [ $1 = 1 ]; then \
- systemctl preset lvm2-%{-s*}.%{-t*} > /dev/null 2>&1 || : \
+ systemctl preset lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
fi \
-%else \
-/sbin/chkconfig --add lvm2-%{-s*} \
-%endif \
-%endif \
+%%else \
+/sbin/chkconfig --add lvm2-%%{-s*} \
+%%endif \
+%%endif \
: \
-%{nil}
+%%{nil}
-%define disable(s:t:) \
-%if %{have_service %{-s*}} \
-%if %{enable_systemd} \
+%global disable(s:t:) \
+%%if %%{have_service %%{-s*}} \
+%%if %%{enable_systemd} \
if [ $1 = 0 ]; then \
- systemctl --no-reload disable lvm2-%{-s*}.%{-t*} > /dev/null 2>&1 || : \
- %if %{-t*} == socket \
- systemctl --no-reload disable lvm2-%{-s*}.service > /dev/null 2>&1 || : \
- %endif \
- systemctl stop lvm2-%{-s*}.%{-t*} > /dev/null 2>&1 || : \
- %if %{-t*} == socket \
- systemctl stop lvm2-%{-s*}.service > /dev/null 2>&1 || : \
- %endif \
+ systemctl --no-reload disable lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
+ %%if %%{-t*} == socket \
+ systemctl --no-reload disable lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
+ %%endif \
+ systemctl stop lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
+ %%if %%{-t*} == socket \
+ systemctl stop lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
+ %%endif \
fi \
-%else \
-/sbin/chkconfig --del lvm2-%{-s*} \
-%endif \
-%endif \
+%%else \
+/sbin/chkconfig --del lvm2-%%{-s*} \
+%%endif \
+%%endif \
: \
-%{nil}
+%%{nil}
-%define try_restart(s:t:) \
-%if %{have_service %{-s*}} && %{enable_systemd} \
+%global try_restart(s:t:) \
+%%if %%{have_service %%{-s*}} && %%{enable_systemd} \
if [ $1 = 1 ]; then \
- systemctl try-restart lvm2-%{-s*}.%{-t*} > /dev/null 2>&1 || : \
+ systemctl try-restart lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
fi \
-%endif \
+%%endif \
: \
-%{nil}
+%%{nil}
7 years, 2 months
master - spec: Use %global instead of %define for constants
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7067514c9b3e5af8862...
Commit: 7067514c9b3e5af88629799a4bd60614ef776a9d
Parent: 5ba82a16db75a882b886b124c5f893a0ab636ba6
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Fri Sep 16 17:23:32 2016 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 13:03:24 2017 +0100
spec: Use %global instead of %define for constants
Using %define is now discouraged by Fedora Packaging Guidelines
---
spec/source.inc | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/spec/source.inc b/spec/source.inc
index 3fa8038..43bb20c 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -50,19 +50,19 @@
%if %{fedora} >= 24 || %{rhel} >= 7
%service lvmlockd 1
- %define sanlock_version 3.3.0-1
- %define enable_lockd_dlm 1
- %define enable_lockd_sanlock 1
+ %global sanlock_version 3.3.0-1
+ %global enable_lockd_dlm 1
+ %global enable_lockd_sanlock 1
%if %{rhel}
%ifarch i686 x86_64 s390x
%global buildreq_lockd_dlm dlm-devel >= %{dlm_version}
%else
- %define enable_lockd_dlm 0
+ %global enable_lockd_dlm 0
%endif
%ifarch x86_64 ppc64le ppc64 aarch64
%global buildreq_lockd_sanlock sanlock-devel >= %{sanlock_version}
%else
- %define enable_lockd_sanlock 0
+ %global enable_lockd_sanlock 0
%endif
%endif
%endif
@@ -140,7 +140,7 @@
# same as FC 16 above, only with older udev
%if %{rhel} == 6
-%define req_udev udev >= 147-2
+%global req_udev udev >= 147-2
%global req_dm_persistent device-mapper-persistent-data >= 0.1.4
%endif
@@ -149,7 +149,7 @@
# Do not reset Release to 1 unless both lvm2 and device-mapper
# versions are increased together.
-%define device_mapper_version 1.02.97
+%global device_mapper_version 1.02.97
Summary: Userland logical volume management tools
Name: lvm2
7 years, 2 months
master - spec: Update requirements for lockd
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5ba82a16db75a882b88...
Commit: 5ba82a16db75a882b886b124c5f893a0ab636ba6
Parent: cf0bf4b3143209007c98ae9857f4d68488b5b39f
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Fri Sep 16 17:21:24 2016 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 13:03:24 2017 +0100
spec: Update requirements for lockd
lockd requires sanlock >= 3.3.0
---
spec/source.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec/source.inc b/spec/source.inc
index 97f29f1..3fa8038 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -48,9 +48,9 @@
%global req_udev udev >= 181-1
-%if %{fedora} >= 22 || %{rhel} >= 7
+%if %{fedora} >= 24 || %{rhel} >= 7
%service lvmlockd 1
- %define sanlock_version 3.2.4-1
+ %define sanlock_version 3.3.0-1
%define enable_lockd_dlm 1
%define enable_lockd_sanlock 1
%if %{rhel}
7 years, 2 months
master - spec: Profiles are not %config(noreplace)
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cf0bf4b3143209007c9...
Commit: cf0bf4b3143209007c98ae9857f4d68488b5b39f
Parent: a4a6a7a526e1ef43a710fef8330242f95c8e5e34
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Wed Sep 14 14:39:44 2016 +0200
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 13:02:24 2017 +0100
spec: Profiles are not %config(noreplace)
These files are just examples and should not be edited by user.
---
spec/packages.inc | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/spec/packages.inc b/spec/packages.inc
index d3a9e88..cfe6736 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -174,13 +174,13 @@ fi
%attr(644, -, -) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvm.conf
%attr(644, -, -) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvmlocal.conf
%dir %{_sysconfdir}/lvm/profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/command_profile_template.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/metadata_profile_template.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/thin-generic.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/thin-performance.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/cache-mq.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/cache-smq.profile
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/profile/lvmdbusd.profile
+%{_sysconfdir}/lvm/profile/command_profile_template.profile
+%{_sysconfdir}/lvm/profile/metadata_profile_template.profile
+%{_sysconfdir}/lvm/profile/thin-generic.profile
+%{_sysconfdir}/lvm/profile/thin-performance.profile
+%{_sysconfdir}/lvm/profile/cache-mq.profile
+%{_sysconfdir}/lvm/profile/cache-smq.profile
+%{_sysconfdir}/lvm/profile/lvmdbusd.profile
%dir %{_sysconfdir}/lvm/backup
%dir %{_sysconfdir}/lvm/cache
%dir %{_sysconfdir}/lvm/archive
7 years, 2 months
master - man: Make dmfilemapd.8 optional
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a4a6a7a526e1ef43a71...
Commit: a4a6a7a526e1ef43a710fef8330242f95c8e5e34
Parent: 2fd5c8e908cbb18885d3ddd6ae0e9a3ce5a476d5
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Thu Mar 16 12:26:51 2017 +0100
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 12:26:51 2017 +0100
man: Make dmfilemapd.8 optional
---
man/Makefile.in | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/man/Makefile.in b/man/Makefile.in
index 6e4c846..e9c7d3d 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -19,6 +19,7 @@ top_builddir = @top_builddir@
FSADMMAN = fsadm.8
BLKDEACTIVATEMAN = blkdeactivate.8
DMEVENTDMAN = dmeventd.8
+DMFILEMAPDMAN = dmfilemapd.8
LVMETADMAN = lvmetad.8
LVMPOLLDMAN = lvmpolld.8
LVMLOCKDMAN = lvmlockd.8 lvmlockctl.8
@@ -40,7 +41,7 @@ MAN8=lvm.8 lvmconf.8 lvmdump.8 lvm-config.8 lvm-dumpconfig.8 lvm-fullreport.8 \
vgimport.8 vgimportclone.8 vgmerge.8 vgmknodes.8 vgreduce.8 vgremove.8 \
vgrename.8 vgs.8 vgscan.8 vgsplit.8 \
lvmsar.8 lvmsadc.8 lvmdiskscan.8
-MAN8DM=dmsetup.8 dmstats.8 dmfilemapd.8
+MAN8DM=dmsetup.8 dmstats.8
MAN8CLUSTER=
MAN8SYSTEMD_GENERATORS=lvm2-activation-generator.8
@@ -55,7 +56,7 @@ endif
ifeq ($(MAN_ALL),"yes")
MAN8+=$(FSADMMAN) $(LVMETADMAN) $(LVMPOLLDMAN) $(LVMLOCKDMAN) $(LVMDBUSDMAN)
- MAN8DM+=$(BLKDEACTIVATEMAN) $(DMEVENTDMAN)
+ MAN8DM+=$(BLKDEACTIVATEMAN) $(DMEVENTDMAN) $(DMFILEMAPDMAN)
MAN8CLUSTER+=$(CLVMDMAN) $(CMIRRORDMAN)
MAN7+=$(LVMCACHEMAN) $(LVMTHINMAN) $(LVMRAIDMAN)
else
@@ -87,6 +88,10 @@ else
MAN8DM+=$(DMEVENTDMAN)
endif
+ ifeq ("@DMFILEMAPD@", "yes")
+ MAN8DM+=$(DMFILEMAPDMAN)
+ endif
+
ifneq ("@CLVMD@", "none")
MAN8CLUSTER+=$(CLVMDMAN)
endif
@@ -121,7 +126,8 @@ CLEAN_TARGETS+=$(MAN5) $(MAN7) $(MAN8) $(MAN8:%.8_gen=%.8) $(MAN8CLUSTER) \
$(MAN8SYSTEMD_GENERATORS) $(MAN8DM) $(MANGENERATOR) $(TESTMAN)
DISTCLEAN_TARGETS+=$(FSADMMAN) $(BLKDEACTIVATEMAN) $(DMEVENTDMAN) \
$(LVMETADMAN) $(LVMPOLLDMAN) $(LVMLOCKDMAN) $(CLVMDMAN) $(CMIRRORDMAN) \
- $(LVMCACHEMAN) $(LVMTHINMAN) $(LVMDBUSDMAN) $(LVMRAIDMAN)
+ $(LVMCACHEMAN) $(LVMTHINMAN) $(LVMDBUSDMAN) $(LVMRAIDMAN) \
+ $(DMFILEMAPDMAN)
all: man device-mapper
7 years, 2 months
master - spec: lvmchange is built-in command
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2fd5c8e908cbb18885d...
Commit: 2fd5c8e908cbb18885d3ddd6ae0e9a3ce5a476d5
Parent: affe055462abde154a31eea0aa1775157c35bdcd
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Thu Mar 16 11:44:10 2017 +0100
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 11:44:10 2017 +0100
spec: lvmchange is built-in command
---
spec/packages.inc | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/spec/packages.inc b/spec/packages.inc
index 85c9e6d..d3a9e88 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -50,7 +50,6 @@ fi
%{_sbindir}/lvdisplay
%{_sbindir}/lvextend
%{_sbindir}/lvm
-%{_sbindir}/lvmchange
%{_sbindir}/lvmconf
%{_sbindir}/lvmconfig
%{_sbindir}/lvmdiskscan
@@ -112,7 +111,6 @@ fi
%{_mandir}/man8/lvm-dumpconfig.8.gz
%{_mandir}/man8/lvm.8.gz
%{_mandir}/man8/lvm2-activation-generator.8.gz
-%{_mandir}/man8/lvmchange.8.gz
%{_mandir}/man8/lvmconf.8.gz
%{_mandir}/man8/lvmconfig.8.gz
%{_mandir}/man8/lvmdiskscan.8.gz
7 years, 2 months
master - man: Handle empty MAN8GENERATED
by Marian Csontos
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=affe055462abde154a3...
Commit: affe055462abde154a31eea0aa1775157c35bdcd
Parent: 51b9de7249e912cdaa4508f5046d95d2c108b1c1
Author: Marian Csontos <mcsontos(a)redhat.com>
AuthorDate: Thu Mar 16 11:33:07 2017 +0100
Committer: Marian Csontos <mcsontos(a)redhat.com>
CommitterDate: Thu Mar 16 11:35:08 2017 +0100
man: Handle empty MAN8GENERATED
---
man/Makefile.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/man/Makefile.in b/man/Makefile.in
index 1e521fd..6e4c846 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -190,8 +190,7 @@ install_man7: $(MAN7)
install_man8: $(MAN8) $(MAN8GENERATED)
$(INSTALL) -d $(MAN8DIR)
- $(INSTALL_DATA) $(MAN8) $(MAN8DIR)/
- $(INSTALL_DATA) $(MAN8GENERATED) $(MAN8DIR)/
+ $(INSTALL_DATA) $(MAN8) $(MAN8GENERATED) $(MAN8DIR)/
install_lvm2: install_man5 install_man7 install_man8
7 years, 2 months
master - tests: better disk delay
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=51b9de7249e912cdaa4...
Commit: 51b9de7249e912cdaa4508f5046d95d2c108b1c1
Parent: 7fa08ae4e80e37e102d77f8fe02902a68bf52d9c
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Thu Mar 16 08:49:52 2017 +0100
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Thu Mar 16 08:49:52 2017 +0100
tests: better disk delay
Delay only writable extents.
Skip zeroing for earlier lvcreate finish.
---
test/shell/lvchange-raid1-writemostly.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/shell/lvchange-raid1-writemostly.sh b/test/shell/lvchange-raid1-writemostly.sh
index 611992a..a6d5b6e 100644
--- a/test/shell/lvchange-raid1-writemostly.sh
+++ b/test/shell/lvchange-raid1-writemostly.sh
@@ -21,7 +21,7 @@ aux prepare_vg 4
for d in $dev1 $dev2 $dev3 $dev4
do
- aux delay_dev $d 1 1
+ aux delay_dev $d 0 20 $(get first_extent_sector "$d")
done
#
@@ -29,11 +29,12 @@ done
#
# Create 4-way raid1 LV
-lvcreate -aey --ty raid1 -m 3 -L 32M -n $lv1 $vg
+lvcreate -aey --ty raid1 -m 3 -Zn -L16M -n $lv1 $vg
not lvchange -y --writemostly $dev1 $vg/$lv1
check lv_field $vg/$lv1 segtype "raid1"
check lv_field $vg/$lv1 stripes 4
check lv_attr_bit health $vg/${lv1}_rimage_0 "-"
+aux enable_dev $(< DEVICES)
aux wait_for_sync $vg $lv1
lvchange -y --writemostly $dev1 $vg/$lv1
check lv_attr_bit health $vg/${lv1}_rimage_0 "w"
7 years, 2 months
master - tests: add missing --yes
by Zdenek Kabelac
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7fa08ae4e80e37e102d...
Commit: 7fa08ae4e80e37e102d77f8fe02902a68bf52d9c
Parent: e9b5a455e1ce1eebcf949be20c1dd282fdb00d75
Author: Zdenek Kabelac <zkabelac(a)redhat.com>
AuthorDate: Thu Mar 16 08:44:44 2017 +0100
Committer: Zdenek Kabelac <zkabelac(a)redhat.com>
CommitterDate: Thu Mar 16 08:44:44 2017 +0100
tests: add missing --yes
---
test/shell/lvconvert-cache-chunks.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvconvert-cache-chunks.sh b/test/shell/lvconvert-cache-chunks.sh
index 918b55d..7fa5b72 100644
--- a/test/shell/lvconvert-cache-chunks.sh
+++ b/test/shell/lvconvert-cache-chunks.sh
@@ -33,7 +33,7 @@ test $(get lv_field $vg/cpool chunk_size --units s --nosuffix) -gt 1000
lvcreate -L1M -n $lv1 $vg
# Not let pass small chunks when caching origin
-fail lvconvert -H --chunksize 128K --cachepool $vg/cpool $vg/$lv1 >out 2>&1
+fail lvconvert -y -H --chunksize 128K --cachepool $vg/cpool $vg/$lv1 >out 2>&1
cat out
grep "too small chunk size" out
7 years, 2 months
master - tools: Drop unused e2fsadm refs (replaced by fsadm).
by Alasdair Kergon
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e9b5a455e1ce1eebcf9...
Commit: e9b5a455e1ce1eebcf949be20c1dd282fdb00d75
Parent: 8ef93c756eecc2036f0c945c80972902f27970ca
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: Thu Mar 16 02:24:39 2017 +0000
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: Thu Mar 16 02:24:39 2017 +0000
tools: Drop unused e2fsadm refs (replaced by fsadm).
---
tools/stub.h | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tools/stub.h b/tools/stub.h
index a98346a..f03e5d3 100644
--- a/tools/stub.h
+++ b/tools/stub.h
@@ -13,13 +13,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/*
-#define unimplemented \
- log_error("Command not implemented yet."); return ECMD_FAILED
-
-int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented
-*/
-
int lvmsadc(struct cmd_context *cmd __attribute__((unused)),
int argc __attribute__((unused)),
char **argv __attribute__((unused)))
7 years, 2 months