set EXT2_LINK_MAX to LINK_MAX
In linux EXT4_LINK_MAX is now 64000. We can't really do that since i_nlink and va_nlink are signed so setting higher values is likely to cause trouble. This is a system limitation so set the EXT_LINK_MAX to what the system can handle. MFC after: 3 days
This commit is contained in:
parent
b22b6abd34
commit
55806cca37
@ -72,7 +72,7 @@ struct ext2fs_direct_2 {
|
||||
/*
|
||||
* Maximal count of links to a file
|
||||
*/
|
||||
#define EXT2_LINK_MAX 32000
|
||||
#define EXT2_LINK_MAX LINK_MAX
|
||||
|
||||
/*
|
||||
* Ext2 directory file types. Only the low 3 bits are used. The
|
||||
|
Loading…
Reference in New Issue
Block a user