1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/device
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
..
dev-cache.c log: Improve various device-related messages 2017-11-13 19:45:33 +00:00
dev-cache.h device: Separate errors for dev not found and filtered. 2017-10-17 02:12:41 +01:00
dev-dasd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c log: Improve various device-related messages 2017-11-13 19:45:33 +00:00
dev-io.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
dev-luks.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
dev-md.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
dev-swap.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
dev-type.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
dev-type.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device-types.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device.h device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00