From patchwork Fri Sep 23 22:38:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 116191 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 83449B6F81 for ; Sat, 24 Sep 2011 08:38:45 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752576Ab1IWWim (ORCPT ); Fri, 23 Sep 2011 18:38:42 -0400 Received: from mail132.messagelabs.com ([216.82.242.115]:43637 "EHLO mail132.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752533Ab1IWWim (ORCPT ); Fri, 23 Sep 2011 18:38:42 -0400 X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-14.tower-132.messagelabs.com!1316817507!39610236!16 X-Originating-IP: [216.166.12.178] X-StarScan-Version: 6.3.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 17657 invoked from network); 23 Sep 2011 22:38:41 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.178) by server-14.tower-132.messagelabs.com with RC4-SHA encrypted SMTP; 23 Sep 2011 22:38:41 -0000 Received: from etch.local (10.2.3.210) by smtp.collaborationhost.net (10.2.0.191) with Microsoft SMTP Server (TLS) id 8.3.137.0; Fri, 23 Sep 2011 17:38:39 -0500 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] ext4/xattr_security.c: local functions should be static Date: Fri, 23 Sep 2011 15:38:22 -0700 User-Agent: KMail/1.9.9 CC: , , MIME-Version: 1.0 Content-Disposition: inline Message-ID: <201109231538.22933.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 'ext4_initxattrs' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: "Theodore Ts'o" 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/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 34e4350..827fbfd 100644 --- a/fs/ext4/xattr_security.c +++ b/fs/ext4/xattr_security.c @@ -48,7 +48,7 @@ ext4_xattr_security_set(struct dentry *dentry, const char *name, name, value, size, flags); } -int ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, +static int ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) { const struct xattr *xattr;