This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/lib/device dev-io.c
- From: agk at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 27 Sep 2010 19:15:14 -0000
- Subject: LVM2/lib/device dev-io.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2010-09-27 19:15:13
Modified files:
lib/device : dev-io.c
Log message:
drop an unnecessary 'stack'
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-io.c.diff?cvsroot=lvm2&r1=1.70&r2=1.71
--- LVM2/lib/device/dev-io.c 2010/09/22 22:31:46 1.70
+++ LVM2/lib/device/dev-io.c 2010/09/27 19:15:13 1.71
@@ -210,8 +210,10 @@
(size_t) where->size);
/* ... then we write */
- r = _io(&widened, bounce, 1);
- goto_out;
+ if (!(r = _io(&widened, bounce, 1)))
+ stack;
+
+ goto out;
}
memcpy(buffer, bounce + (where->start - widened.start),