1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/format_text
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
..
archive.c doc: change fsf address 2016-01-21 12:11:37 +01:00
archiver.c format_text: Replace PRI with FMT. 2017-12-11 15:39:25 +00:00
archiver.h vgcfgrestore: use lvmetad disabled state 2016-06-20 11:19:49 -05:00
export.c format_text: Round size written up to multiple of 4096. 2017-12-12 22:52:22 +00:00
flags.c replicator: remove the code 2017-10-13 16:20:42 -05:00
format-text.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
format-text.h cov: declaration matching 2016-12-11 23:24:19 +01:00
import_vsn1.c cleanup: add braces in macro 2017-07-20 11:18:29 +02:00
import-export.h device: Tag I/O for each mda on a device separately in log messages. 2017-12-07 03:48:11 +00:00
import.c device: Tag I/O for each mda on a device separately in log messages. 2017-12-07 03:48:11 +00:00
layout.h format_text: Supply mempool directly to raw_read_mda_header. 2017-12-15 14:57:05 +00:00
text_export.h coverity: fix possible resource leak of descendants_buffer in _print_historical_lv fn 2016-05-31 09:36:58 +02:00
text_import.h doc: change fsf address 2016-01-21 12:11:37 +01:00
text_label.c format_text: Supply mempool directly to raw_read_mda_header. 2017-12-15 14:57:05 +00:00