1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format1
Alasdair G Kergon 17649d4ac8 device: Move dev_read memory allocation into device layer.
Rename dev_read() to dev_read_buf() - the function that reads data
into a supplied buffer.

Introduce a new dev_read() that allocates the buffer it returns and
switch the important users over to this.  No caller may change the
returned data.  (For now, callers are responsible for freeing it after
use, but later the device layer will take full ownership.)

dev_read_buf() should only be used for tiny buffers or unimportant code
(such as the old disk formats).
2017-12-19 01:31:50 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
disk-rep.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
disk-rep.h doc: change fsf address 2016-01-21 12:11:37 +01:00
format1.c redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format1.h doc: change fsf address 2016-01-21 12:11:37 +01:00
import-export.c build: fix x32 arch 2017-03-27 20:50:19 +02:00
import-extents.c tidy: else after continue 2017-07-20 11:18:29 +02:00
layout.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm1-label.c label: Remove unused verify functions. 2017-11-28 01:36:55 +00:00
lvm1-label.h doc: change fsf address 2016-01-21 12:11:37 +01:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00
vg_number.c doc: change fsf address 2016-01-21 12:11:37 +01:00