reiserfs: Use signed i_nlink
Unlike Linux, FreeBSD's kernel doesn't like unsigned file link count. This is consistent with our ext2fs implementation. MFC after: 1 month
This commit is contained in:
parent
540cc663b1
commit
fd29269606
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272126
@ -59,7 +59,7 @@ struct reiserfs_node {
|
||||
flags read from sd_attrs. */
|
||||
|
||||
uint16_t i_mode; /* IFMT, permissions. */
|
||||
uint16_t i_nlink; /* File link count. */
|
||||
int16_t i_nlink; /* File link count. */
|
||||
uint64_t i_size; /* File byte count. */
|
||||
uint32_t i_bytes;
|
||||
uid_t i_uid; /* File owner. */
|
||||
|
Loading…
Reference in New Issue
Block a user