mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
In scrub don't check the inode to verify if the file is synced.
On filesystem without persistent inode, they can be different from one run to another. In sync they are automatically adjusted, but not in scrub.
This commit is contained in:
parent
b47d78c581
commit
c8edf2f002
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
if (handle[j].st.st_size != block_file_get(block)->size
|
||||
|| handle[j].st.st_mtime != block_file_get(block)->mtime_sec
|
||||
|| STAT_NSEC(&handle[j].st) != block_file_get(block)->mtime_nsec
|
||||
|| handle[j].st.st_ino != block_file_get(block)->inode
|
||||
/* don't check the inode to support filesystem without persistent inodes */
|
||||
) {
|
||||
/* report that the block and the file are not synced */
|
||||
block_is_unsynced = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue