]> err.no Git - linux-2.6/commitdiff
selinux: make selinux_set_mnt_opts() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 28 Jan 2008 22:11:52 +0000 (00:11 +0200)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:44 +0000 (08:17 +1100)
selinux_set_mnt_opts() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c

index 81bfcf114484372c688f82bc73a72ef05aff0a4f..be6de0b8734fd9eb950d8f8ca9e2306621764420 100644 (file)
@@ -583,8 +583,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;