From owner-svn-src-all@freebsd.org Wed Mar 29 18:35:21 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD454D24C4E; Wed, 29 Mar 2017 18:35:21 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 AA78B16C0; Wed, 29 Mar 2017 18:35:21 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2TIZKjJ016888; Wed, 29 Mar 2017 18:35:20 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2TIZKD2016887; Wed, 29 Mar 2017 18:35:20 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201703291835.v2TIZKD2016887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Wed, 29 Mar 2017 18:35:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r316171 - head/sys/boot/i386/boot2 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.23 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: Wed, 29 Mar 2017 18:35:22 -0000 Author: imp Date: Wed Mar 29 18:35:20 2017 New Revision: 316171 URL: https://svnweb.freebsd.org/changeset/base/316171 Log: xfsread inlined uses more space, so remove the inline tag. This doesn't help clang, but buys us another 32 bytes for gcc 4.2.1. It also eliminates a warning from gcc 6.3.0 that says inlining this would be unhelpful. Modified: head/sys/boot/i386/boot2/boot2.c Modified: head/sys/boot/i386/boot2/boot2.c ============================================================================== --- head/sys/boot/i386/boot2/boot2.c Wed Mar 29 17:11:41 2017 (r316170) +++ head/sys/boot/i386/boot2/boot2.c Wed Mar 29 18:35:20 2017 (r316171) @@ -143,7 +143,7 @@ strcmp(const char *s1, const char *s2) #define UFS_SMALL_CGBASE #include "ufsread.c" -static inline int +static int xfsread(ufs_ino_t inode, void *buf, size_t nbyte) { if ((size_t)fsread(inode, buf, nbyte) != nbyte) {