Zdenek Kabelac
5c0ade35e2
util: swap header file load order
...
Ensure libdevmapper is included before util.h since
we are going to add function that is using it.
TODO: maybe add include directly here...
2024-04-04 19:33:58 +02:00
Bryn M. Reeves
9aa47f9768
Quote path value in --filemap debug messages
...
Improves readability of debugging output when file paths contain
whitespace.
2023-10-12 11:31:14 +00:00
Zdenek Kabelac
f443d16fd7
cov: fix buffer size usage
...
Count with extra 1 byte for buffer end '\0'.
2022-12-20 15:04:36 +01:00
Zdenek Kabelac
b0d40109a6
cov: ignore leak of fd descriptor
...
There is no 'fd' leak.
2021-09-21 21:03:47 +02:00
Zdenek Kabelac
1b52451996
cov: mask some warning about leakage
...
Mask false-positive leak report.
2021-09-20 14:26:09 +02:00
Zdenek Kabelac
825e49a244
cov: use different variable name
...
Better for Coverity to see no change for possibly opened handle.
2021-09-20 14:26:09 +02:00
Zdenek Kabelac
d388b36da2
cov: daemonize avoid leak of FD on error path
...
Use our common patter for reopening FDs to /dev/null
that avoids leaking FD on error path.
2021-04-23 23:00:55 +02:00
Zdenek Kabelac
7342ab06fc
debug: change sys_error to sys_debug
...
These messages do not cause command error - so changing logging level
to just 'sys_debug' (so visible only with -vvvv)
2021-03-10 01:11:52 +01:00
Zdenek Kabelac
70e3d0a613
cov: remove unused assigns
2018-11-05 17:25:11 +01:00
Joe Thornber
fededfbbbc
dmfilemapd: Move to libdm/dm-tools
...
No longer uses any lvm code.
2018-06-14 14:27:19 +01:00