diff options
author | Zach Brown <zach.brown@oracle.com> | 2007-04-26 00:47:15 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-04-26 00:47:15 +0200 |
commit | 70272a6c174b13f764322d1ac8c43f10372f4b0c (patch) | |
tree | 157b4297ed11131564d4b2225c7eda46762c7c1e | |
parent | 89cd6ca5a57e67604e05076203e1da12723dae12 (diff) | |
download | lwn-70272a6c174b13f764322d1ac8c43f10372f4b0c.tar.gz lwn-70272a6c174b13f764322d1ac8c43f10372f4b0c.zip |
aio: remove bare user-triggerable error printk
The user can generate console output if they cause do_mmap() to fail
during sys_io_setup(). This was seen in a regression test that does
exactly that by spinning calling mmap() until it gets -ENOMEM before
calling io_setup().
We don't need this printk at all, just remove it.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | fs/aio.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -136,7 +136,6 @@ static int aio_setup_ring(struct kioctx *ctx) 0); if (IS_ERR((void *)info->mmap_base)) { up_write(&ctx->mm->mmap_sem); - printk("mmap err: %ld\n", -info->mmap_base); info->mmap_size = 0; aio_free_ring(ctx); return -EAGAIN; |