Commit:     28defbea64622f69d65a6079bf800cedb9915a5f
Parent:     d459094083c3a23b31514bbe31cc3f4c21ed4445
Author:     Zach Brown <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 27 15:44:01 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Mar 27 17:53:25 2007 -0700

    [PATCH] 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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 fs/aio.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/aio.c b/fs/aio.c
index 0b4ee0a..e4598d6 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -136,7 +136,6 @@ static int aio_setup_ring(struct kioctx *ctx)
        if (IS_ERR((void *)info->mmap_base)) {
-               printk("mmap err: %ld\n", -info->mmap_base);
                info->mmap_size = 0;
                return -EAGAIN;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to