From patchwork Thu Aug 2 10:09:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10461 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 863032402A for ; Thu, 2 Aug 2012 10:10:36 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id E2421A180A0 for ; Thu, 2 Aug 2012 10:10:35 +0000 (UTC) Received: by ggnf1 with SMTP id f1so8400938ggn.11 for ; Thu, 02 Aug 2012 03:10:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=Kq4sRYK/u3gcNePHZsP5Gl2CGGxHzl6x2E0AMh7HN3g=; b=VzWzeNFhSqOgW7ulSPlh/O0aPySPhQsOnSVfzz98OhSNn3xDQqR2V4N0PlwwkRXmDT w2D05WNwTyO4digi59kxuZpkFB1iassd6Clo2BRU+gF3kuvehAvxb7yOSGPqLrE/3Bc6 /1/QozH/uNQ2I6ur5rg5IISVonskvCudUB4I3+nSg/Q3Qb00JkpgmUJFbcD6fXbzB1D/ yD7L+bEfUcE1nY8UHUWk03AO3JuygwE37EXLFYv8KoP+/PiTiQWC05Rubqa+HIRndTEB pUumb3myObxg2V2YSVMct4+Ihl9TImWdZfr8fbwqnpVSuUQuWjpCvKWNulCod22fI1zm m8rQ== Received: by 10.50.213.39 with SMTP id np7mr2628455igc.51.1343902235258; Thu, 02 Aug 2012 03:10:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.87.40 with SMTP id u8csp246326igz; Thu, 2 Aug 2012 03:10:34 -0700 (PDT) Received: by 10.236.187.1 with SMTP id x1mr19435402yhm.125.1343902234214; Thu, 02 Aug 2012 03:10:34 -0700 (PDT) Received: from mail-gg0-f178.google.com (mail-gg0-f178.google.com [209.85.161.178]) by mx.google.com with ESMTPS id u5si2487870anl.112.2012.08.02.03.10.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 03:10:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.161.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.161.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by ggcq6 with SMTP id q6so9702882ggc.37 for ; Thu, 02 Aug 2012 03:10:33 -0700 (PDT) Received: by 10.43.45.200 with SMTP id ul8mr3138739icb.36.1343902233523; Thu, 02 Aug 2012 03:10:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ch4sm16201342igb.2.2012.08.02.03.10.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Aug 2012 03:10:32 -0700 (PDT) From: Sachin Kamat To: reiserfs-devel@vger.kernel.org Cc: viro@zeniv.linux.org.uk, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] fs: reiserfs/xattr.c: Make reiserfs_xattr_handlers static Date: Thu, 2 Aug 2012 15:39:17 +0530 Message-Id: <1343902157-2267-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlzj4y8RrQfP+9xWmsZmWjPwK1A9lQGdhNyt+w3BJ9OObLKm+JvTkUa0UGwnKfi0K5iixag Silences the following sparse warning: fs/reiserfs/xattr.c:899:28: warning: symbol 'reiserfs_xattr_handlers' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- fs/reiserfs/xattr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index d319963..c196369 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c @@ -896,7 +896,7 @@ static int create_privroot(struct dentry *dentry) { return 0; } #endif /* Actual operations that are exported to VFS-land */ -const struct xattr_handler *reiserfs_xattr_handlers[] = { +static const struct xattr_handler *reiserfs_xattr_handlers[] = { #ifdef CONFIG_REISERFS_FS_XATTR &reiserfs_xattr_user_handler, &reiserfs_xattr_trusted_handler,