mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
dmfilemapd: fix len type in _filemap_monitor_check_file_unlinked()
Make 'len' a size_t to match the return type of readlink(2).
This commit is contained in:
parent
660bd4fe3e
commit
76b6cbea60
@ -559,7 +559,8 @@ static int _filemap_monitor_check_file_unlinked(struct filemap_monitor *fm)
|
|||||||
{
|
{
|
||||||
char path_buf[PATH_MAX];
|
char path_buf[PATH_MAX];
|
||||||
char link_buf[PATH_MAX];
|
char link_buf[PATH_MAX];
|
||||||
int same, fd, len;
|
int same, fd;
|
||||||
|
ssize_t len;
|
||||||
|
|
||||||
fm->deleted = 0;
|
fm->deleted = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user