aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sysctl.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-03-07 10:00:35 +1100
committerDave Chinner <david@fromorbit.com>2011-03-07 10:00:35 +1100
commit4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5 (patch)
treeb530112e7c04f1c7c62b8eec2b850508905fc42a /fs/xfs/linux-2.6/xfs_sysctl.c
parent10e38391c0e242e53e30094f6c00553418ab2f2e (diff)
downloadkernel_samsung_smdk4412-4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5.zip
kernel_samsung_smdk4412-4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5.tar.gz
kernel_samsung_smdk4412-4f10700a2e4bb2ff3d3a80f08412e21109e6d4b5.tar.bz2
xfs: Convert linux-2.6/ files to new logging interface
Convert the files in fs/xfs/linux-2.6/ to use the new xfs_<level> logging format that replaces the old Irix inherited cmn_err() interfaces. While there, also convert naked printk calls to use the relevant xfs logging function to standardise output format. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Alex Elder <aelder@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sysctl.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sysctl.c b/fs/xfs/linux-2.6/xfs_sysctl.c
index ee3cee0..ee2d2ad 100644
--- a/fs/xfs/linux-2.6/xfs_sysctl.c
+++ b/fs/xfs/linux-2.6/xfs_sysctl.c
@@ -37,7 +37,7 @@ xfs_stats_clear_proc_handler(
ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos);
if (!ret && write && *valp) {
- printk("XFS Clearing xfsstats\n");
+ xfs_notice(NULL, "Clearing xfsstats");
for_each_possible_cpu(c) {
preempt_disable();
/* save vn_active, it's a universal truth! */