From patchwork Fri Sep 23 22:07:09 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 116182 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 25BEBB6F81 for ; Sat, 24 Sep 2011 08:07:25 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410Ab1IWWHX (ORCPT ); Fri, 23 Sep 2011 18:07:23 -0400 Received: from mail132.messagelabs.com ([216.82.242.115]:8271 "EHLO mail132.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751947Ab1IWWHW (ORCPT ); Fri, 23 Sep 2011 18:07:22 -0400 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-8.tower-132.messagelabs.com!1316815640!22018581!2 X-Originating-IP: [216.166.12.69] X-StarScan-Version: 6.3.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 23135 invoked from network); 23 Sep 2011 22:07:21 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.69) by server-8.tower-132.messagelabs.com with RC4-SHA encrypted SMTP; 23 Sep 2011 22:07:21 -0000 Received: from etch.local (10.2.3.210) by smtp.collaborationhost.net (10.2.0.118) with Microsoft SMTP Server (TLS) id 8.3.137.0; Fri, 23 Sep 2011 17:07:20 -0500 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] ext3/xattr_seciruty.c: local functions should be static Date: Fri, 23 Sep 2011 15:07:09 -0700 User-Agent: KMail/1.9.9 CC: , , , MIME-Version: 1.0 Content-Disposition: inline Message-ID: <201109231507.09998.hartleys@visionengravers.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Quiets the sparse noise: warning: symbol 'ext3_initxattrs' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: Jan Kara Cc: Andrew Morton Cc: Andreas Dilger --- -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" 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/ext3/xattr_security.c b/fs/ext3/xattr_security.c index 3c218b8..3f065f8 100644 --- a/fs/ext3/xattr_security.c +++ b/fs/ext3/xattr_security.c @@ -48,7 +48,7 @@ ext3_xattr_security_set(struct dentry *dentry, const char *name, name, value, size, flags); } -int ext3_initxattrs(struct inode *inode, const struct xattr *xattr_array, +static int ext3_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) { const struct xattr *xattr;