From 3ec83948933ad9597cd382ac30ac9cb05464af04 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 6 Mar 2003 18:43:32 -0800 Subject: [PATCH] [PATCH] Turn off aio printk meant for debugging (2.5.64) The following messages are of interest only when debugging aio. Otherwise, they are just console clutter. --- fs/aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index c406f7180d25e..f4688e2403bf4 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -76,7 +76,7 @@ static int __init aio_setup(void) aio_wq = create_workqueue("aio"); - printk(KERN_NOTICE "aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page)); + pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page)); return 0; } @@ -1193,7 +1193,7 @@ asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb *iocb, if (NULL != cancel) { struct io_event tmp; - printk("calling cancel\n"); + pr_debug("calling cancel\n"); memset(&tmp, 0, sizeof(tmp)); tmp.obj = (u64)(unsigned long)kiocb->ki_user_obj; tmp.data = kiocb->ki_user_data; -- 2.53.0