From: Jeff Layton <jlayton@redhat.com>
Date: Wed, 10 Oct 2012 19:25:27 +0000 (-0400)
Subject: acct: constify the name arg to acct_on
X-Git-Tag: v3.7-rc1~32^2~8
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cfd4da175599938f21a81cdd80df02fa4151dcba;p=users%2Fhch%2Fmisc.git

acct: constify the name arg to acct_on

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---

diff --git a/kernel/acct.c b/kernel/acct.c
index 6cd7529c9e6a..5be01017d30f 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -193,7 +193,7 @@ static void acct_file_reopen(struct bsd_acct_struct *acct, struct file *file,
 	}
 }
 
-static int acct_on(char *name)
+static int acct_on(const char *name)
 {
 	struct file *file;
 	struct vfsmount *mnt;