1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Jim Meyering 1a5d6bd23d Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose
* lib/misc/lvm-file.c (lvm_fclose): New function.
* lib/misc/lvm-file.h (lvm_fclose): Declare it.
* lib/config/config.c (write_config_file): Use the new function to detect
and diagnose unlikely write failure.
* lib/filters/filter-persistent.c (persistent_filter_dump): Likewise.
* lib/format_text/archive.c (archive_vg): Likewise.
* lib/format_text/format-text.c (_vg_write_file): Likewise.
* lib/log/log.c (fin_log): Similar, but use dm_fclose directly.
Include "\n" at end of each fprintf format string.
2007-07-24 17:48:08 +00:00
..
activate Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
cache Add 'scan_sector' parameter to label_read and _find_labeller to add 2007-04-23 18:21:01 +00:00
commands Fix loading of persistent cache if cache_dir is used. (2.02.23) 2007-07-23 10:45:49 +00:00
config Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose 2007-07-24 17:48:08 +00:00
datastruct Fix warnings on x86_64 involving ptrdiff_t: 2007-04-26 16:40:46 +00:00
device Fix loading of persistent cache if cache_dir is used. (2.02.23) 2007-07-23 10:45:49 +00:00
display Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
error Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
filters Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose 2007-07-24 17:48:08 +00:00
format1 Add devices/preferred_names config regex list for displayed device names. 2007-04-26 16:44:59 +00:00
format_pool Adjust some alignments for ia64 and sparc. 2006-11-30 23:11:42 +00:00
format_text Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose 2007-07-24 17:48:08 +00:00
label Add 'scan_sector' parameter to label_read and _find_labeller to add 2007-04-23 18:21:01 +00:00
locking Introduce is_same_inode macro, now including a comparison of st_dev. 2007-07-20 15:22:46 +00:00
log Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose 2007-07-24 17:48:08 +00:00
metadata Add CORRECT_INCONSISTENT and FAIL_INCONSISTENT flags to vg_lock_and_read 2007-07-23 21:03:42 +00:00
mirror Add field definitions to report help text. 2007-01-24 16:51:24 +00:00
misc Detect stream write failure reliably; new fn: lvm_fclose; use dm_fclose 2007-07-24 17:48:08 +00:00
mm Add lvm_getpagesize wrapper. 2006-08-17 18:23:44 +00:00
report Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
snapshot Don't use index and rindex functions marked by SUSv3 as legacy - Jakub Bogusz <qboosh@pld-linux.org> 2007-07-02 11:17:21 +00:00
striped Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
uuid Fix uuid_from_num() buffer overrun. 2006-05-10 16:42:03 +00:00
zero Split metadata-external.h out from metadata.h for the tools to use. 2007-07-18 15:38:58 +00:00
Makefile.in Eliminate uses of strdup+basename. Use last_path_component instead. 2007-07-20 15:48:39 +00:00