mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Support filesystems with invalid inode numbers on individual files
Some checks failed
Some checks failed
This commit is contained in:
parent
31011d34c3
commit
c43d78e243
10 changed files with 99 additions and 76 deletions
10
os/os.h
10
os/os.h
|
|
@ -195,6 +195,16 @@ int os_validate_exec_input(const char* str);
|
|||
/****************************************************************************/
|
||||
/* fs */
|
||||
|
||||
/**
|
||||
* Invalid inode number.
|
||||
*
|
||||
* Value 0 is used to represent an invalid or unavailable inode number.
|
||||
* While 0 is not strictly guaranteed to be invalid by standards, in practice
|
||||
* it is never used for valid files. And even if a file happens to have inode 0,
|
||||
* the program will simply process that specific file without using its inode.
|
||||
*/
|
||||
#define INODE_INVALID 0
|
||||
|
||||
/**
|
||||
* Physical offset not yet read.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue