mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 23:46:26 -05:00
Add fsck.mergerfs tool (#1483)
This commit is contained in:
parent
34f07e57f5
commit
77ef88b04c
24 changed files with 12156 additions and 43 deletions
|
|
@ -42,6 +42,8 @@ namespace l
|
|||
rv = fs::write(fd_,buf_,nleft);
|
||||
if((rv == -1) && (errno == EINTR))
|
||||
continue;
|
||||
if((rv == -1) && (errno == EAGAIN))
|
||||
continue;
|
||||
if(rv == -1)
|
||||
return -1;
|
||||
|
||||
|
|
@ -76,6 +78,8 @@ namespace l
|
|||
return totalwritten;
|
||||
if((nr == -1) && (errno == EINTR))
|
||||
continue;
|
||||
if((nr == -1) && (errno == EAGAIN))
|
||||
continue;
|
||||
if(nr == -1)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue