diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-10-10 21:25:27 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-12 06:32:03 +0200 |
commit | cfd4da175599938f21a81cdd80df02fa4151dcba (patch) | |
tree | fa4cf90f56ff4113689348c70e72426c98515d2c /kernel/acct.c | |
parent | vfs: allocate page instead of names_cache buffer in mount_block_root (diff) | |
download | linux-cfd4da175599938f21a81cdd80df02fa4151dcba.tar.xz linux-cfd4da175599938f21a81cdd80df02fa4151dcba.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | kernel/acct.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |