From owner-svn-src-all@FreeBSD.ORG Thu Sep 25 19:10:33 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22654269; Thu, 25 Sep 2014 19:10:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D4E1FD2; Thu, 25 Sep 2014 19:10:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PJAW7S040226; Thu, 25 Sep 2014 19:10:32 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8PJAWRt040225; Thu, 25 Sep 2014 19:10:32 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201409251910.s8PJAWRt040225@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Thu, 25 Sep 2014 19:10:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272126 - head/sys/gnu/fs/reiserfs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 19:10:33 -0000 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. */