ext4: fix lazyinit hang after removing request
commitf4245bd4ebf903541ba758ad06c118626d8c6f18
authorLukas Czerner <lczerner@redhat.com>
Tue, 2 Nov 2010 18:07:17 +0000 (2 14:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Nov 2010 18:07:17 +0000 (2 14:07 -0400)
treea599839d8d3ed672d147036b885d4fec548adf65
parentc8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4
ext4: fix lazyinit hang after removing request

When the request has been removed from the list and no other request
has been issued, we will end up with next wakeup scheduled to
MAX_JIFFY_OFFSET which is bad. So check for that.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c