diff options
author | pfg <pfg@FreeBSD.org> | 2014-09-25 19:10:32 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-09-25 19:10:32 +0000 |
commit | f84ccf57abc43526a6aad8600c13520122444fcb (patch) | |
tree | 2d3e751fb625e2dbbd6cf801c0d5b831576c1351 /sys/gnu/fs/reiserfs | |
parent | 40cf79ce11ca6b87e354cb9101bbd3f920cc8ac7 (diff) | |
download | FreeBSD-src-f84ccf57abc43526a6aad8600c13520122444fcb.zip FreeBSD-src-f84ccf57abc43526a6aad8600c13520122444fcb.tar.gz |
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
Diffstat (limited to 'sys/gnu/fs/reiserfs')
-rw-r--r-- | sys/gnu/fs/reiserfs/reiserfs_fs_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/reiserfs/reiserfs_fs_i.h b/sys/gnu/fs/reiserfs/reiserfs_fs_i.h index d9e358e..e269d92 100644 --- a/sys/gnu/fs/reiserfs/reiserfs_fs_i.h +++ b/sys/gnu/fs/reiserfs/reiserfs_fs_i.h @@ -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. */ |