Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=374ea019cacfa8b69ae49eea993b74cb5968970b
Commit:     374ea019cacfa8b69ae49eea993b74cb5968970b
Parent:     71f1cb05f773661b6fa98c7a635d7a395cd9c55d
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 29 00:11:52 2008 +0200
Committer:  James Morris <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 08:17:44 2008 +1100

    selinux: make selinux_set_mnt_opts() static
    
    selinux_set_mnt_opts() can become static.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: James Morris <[EMAIL PROTECTED]>
---
 security/selinux/hooks.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 81bfcf1..be6de0b 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to