]> Zhao Yanbai Git Server - minix.git/commitdiff
Taught log driver to return REP_IO_GRANT on revive events, makes revive
authorBen Gras <ben@minix3.org>
Tue, 25 Jul 2006 11:01:54 +0000 (11:01 +0000)
committerBen Gras <ben@minix3.org>
Tue, 25 Jul 2006 11:01:54 +0000 (11:01 +0000)
work again.

drivers/log/log.c

index 09e665d525d83d07656c0a80199a6c6de4ba3b0a..6fed82bd85d9d8c484019b40fc6d73a89baf2a42 100644 (file)
@@ -369,6 +369,7 @@ PRIVATE void do_status(message *m_ptr)
                        m.m_type = DEV_REVIVE;
                        m.REP_ENDPT = logdevices[d].log_proc_nr;
                        m.REP_STATUS  = logdevices[d].log_status;
+                       m.REP_IO_GRANT  = logdevices[d].log_user_vir_g;
                        send(m_ptr->m_source, &m);
                        logdevices[d].log_proc_nr = 0;
                        logdevices[d].log_revive_alerted = 0;