Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761183AbYA1WRg (ORCPT ); Mon, 28 Jan 2008 17:17:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761531AbYA1WL1 (ORCPT ); Mon, 28 Jan 2008 17:11:27 -0500 Received: from smtp4.pp.htv.fi ([213.243.153.38]:52291 "EHLO smtp4.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754752AbYA1WLZ (ORCPT ); Mon, 28 Jan 2008 17:11:25 -0500 Date: Tue, 29 Jan 2008 00:11:52 +0200 From: Adrian Bunk To: Eric Paris , "Stephen D. Smalley" , James Morris Cc: linux-kernel@vger.kernel.org Subject: [2.6 patch] make selinux_set_mnt_opts() static Message-ID: <20080128221152.GC8767@does.not.exist> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 27 selinux_set_mnt_opts() can become static. Signed-off-by: Adrian Bunk --- d9cfb159caa25ed5ad3dee35d62a6e1a0bd51ef6 diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 0396354..04eeab7 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -561,8 +561,8 @@ static int bad_option(struct superblock_security_struct *sbsec, char flag, * Allow filesystems with binary mount data to explicitly set mount point * labeling information. */ -int selinux_set_mnt_opts(struct super_block *sb, char **mount_options, - int *flags, int num_opts) +static int selinux_set_mnt_opts(struct super_block *sb, char **mount_options, + int *flags, int num_opts) { int rc = 0, i; struct task_security_struct *tsec = current->security; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/