From patchwork Wed Jun 17 20:04:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 6627871 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8C1CD9F399 for ; Wed, 17 Jun 2015 20:05:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CABFC20850 for ; Wed, 17 Jun 2015 20:05:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F9322084A for ; Wed, 17 Jun 2015 20:05:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753168AbbFQUFj (ORCPT ); Wed, 17 Jun 2015 16:05:39 -0400 Received: from mga01.intel.com ([192.55.52.88]:47866 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbbFQUFi (ORCPT ); Wed, 17 Jun 2015 16:05:38 -0400 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 17 Jun 2015 13:05:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,634,1427785200"; d="scan'208";a="509958653" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 17 Jun 2015 13:05:36 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Z5JaS-000ClR-1S; Thu, 18 Jun 2015 04:05:28 +0800 Date: Thu, 18 Jun 2015 04:04:27 +0800 From: kbuild test robot To: Al Viro Cc: kbuild-all@01.org, linux-fsdevel@vger.kernel.org, Evgeniy Dushistov , linux-kernel@vger.kernel.org Subject: [PATCH vfs] ufs:: ufs_truncate_blocks() can be static Message-ID: <20150617200427.GA998@roam> References: <201506180458.e6paay0G%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201506180458.e6paay0G%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fengguang Wu --- inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index 443f85e..0e23a67 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c @@ -1379,7 +1379,7 @@ out: return err; } -void ufs_truncate_blocks(struct inode *inode) +static void ufs_truncate_blocks(struct inode *inode) { if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)))