svn commit: r272126 - head/sys/gnu/fs/reiserfs
Pedro F. Giffuni
pfg at FreeBSD.org
Thu Sep 25 19:10:33 UTC 2014
Author: pfg
Date: Thu Sep 25 19:10:32 2014
New Revision: 272126
URL: http://svnweb.freebsd.org/changeset/base/272126
Log:
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
Modified:
head/sys/gnu/fs/reiserfs/reiserfs_fs_i.h
Modified: head/sys/gnu/fs/reiserfs/reiserfs_fs_i.h
==============================================================================
--- head/sys/gnu/fs/reiserfs/reiserfs_fs_i.h Thu Sep 25 19:08:06 2014 (r272125)
+++ head/sys/gnu/fs/reiserfs/reiserfs_fs_i.h Thu Sep 25 19:10:32 2014 (r272126)
@@ -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. */
More information about the svn-src-head
mailing list