From patchwork Wed Apr 19 05:48:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 752101 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3w7B1k0vRpz9s2s for ; Wed, 19 Apr 2017 15:50:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="COR7uzrZ"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760149AbdDSFus (ORCPT ); Wed, 19 Apr 2017 01:50:48 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34761 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759674AbdDSFur (ORCPT ); Wed, 19 Apr 2017 01:50:47 -0400 Received: by mail-pf0-f196.google.com with SMTP id g23so2182253pfj.1 for ; Tue, 18 Apr 2017 22:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DUhV0Qu3c60oULkzx8CZSZ70+E5upD9kZk1C5uDJ95Q=; b=COR7uzrZjD6L2KtKtfRsePZEbzt3ixcbNjuL5F6AJy71HyW5n0ekN6TEsEKlCnqMfN b31gvGWWIbVyVxtlEEg1tS8npDb51XoYUwaDrRyGi+IGdmNOpvaLC6obVYfs7ugPM8kc iT1bsGFRnJuW8uK1NytCudUhX/6YmjqWNWHX37Znye6BHJX4xDpXegKZsVbz/gTsHE5J cWcKCDG40IVzVNNOO8eWPm11cmHi1cGbBil6N1tFmARd43E/loIPmq+hR/q++bIp+xC6 KCqQoso/0z/Zf7DOJysiNWuWZJmwQteJSCSVpb5vTvf0OoNm5eUGBgZdNmdOdI2NIDNt M6Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DUhV0Qu3c60oULkzx8CZSZ70+E5upD9kZk1C5uDJ95Q=; b=Qlz8TKpoF4SxlJkdngwiujxgz0fLi8gQJBpyiydod2gzLESeOLubBjwisrCy1tUhdL qw2LhP1dymVO/R/4F3d42qFyes87kll97K5aJoJ1cu2rYAwn2qjYHE18AH7iGono0BIu Ed3kWFJWSVFX07tWwYGHfAHfLO+a76mV9N1vzHMvRwXd8c1zmXWXxBJO6Z5/BD3gdGyJ Ho+frByDJeKPnc9YTZqcUCMrGmeZknXkWLX8kixSVm2yT4wrK0r+4TmmZooT9Y6dUK79 ZhboxvdfzfGyopWOtGvlJwGc41wYiaTem++jSh8F4ZVu4dy27SQ5ytDhCacYCDMsl7yZ pupQ== X-Gm-Message-State: AN3rC/7ImUaKkofFIcrlUoLBHn3vo7+gHKnUV6wRTSp/PDpPvLZVcJHs tgypCh0a0gkwUA== X-Received: by 10.99.24.86 with SMTP id 22mr1234446pgy.238.1492581046845; Tue, 18 Apr 2017 22:50:46 -0700 (PDT) Received: from localhost.localdomain (c-73-239-167-150.hsd1.wa.comcast.net. [73.239.167.150]) by smtp.gmail.com with ESMTPSA id f87sm1785426pfd.87.2017.04.18.22.50.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Apr 2017 22:50:46 -0700 (PDT) From: Eric Biggers To: linux-ext4@vger.kernel.org Cc: Theodore Ts'o , Andreas Dilger , Eric Biggers Subject: [PATCH] ext4: make ext4_shutdown() static Date: Tue, 18 Apr 2017 22:48:25 -0700 Message-Id: <20170419054825.9880-1-ebiggers3@gmail.com> X-Mailer: git-send-email 2.12.2 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Eric Biggers Make the ext4_shutdown() function static, as suggested by running sparse ('make C=2 fs/ext4/'). This was the only such warning in fs/ext4/. Signed-off-by: Eric Biggers --- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index a4273ddb9922..06471430ea47 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -443,7 +443,7 @@ static inline unsigned long ext4_xflags_to_iflags(__u32 xflags) return iflags; } -int ext4_shutdown(struct super_block *sb, unsigned long arg) +static int ext4_shutdown(struct super_block *sb, unsigned long arg) { struct ext4_sb_info *sbi = EXT4_SB(sb); __u32 flags;