aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/jfs/jfs_logmgr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index ccfd02944053..15a3974cdeeb 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -2234,6 +2234,8 @@ static void lbmIODone(struct bio *bio, int error)
2234 2234
2235 /* wakeup I/O initiator */ 2235 /* wakeup I/O initiator */
2236 LCACHE_WAKEUP(&bp->l_ioevent); 2236 LCACHE_WAKEUP(&bp->l_ioevent);
2237
2238 return;
2237 } 2239 }
2238 2240
2239 /* 2241 /*
@@ -2258,6 +2260,7 @@ static void lbmIODone(struct bio *bio, int error)
2258 if (bp->l_flag & lbmDIRECT) { 2260 if (bp->l_flag & lbmDIRECT) {
2259 LCACHE_WAKEUP(&bp->l_ioevent); 2261 LCACHE_WAKEUP(&bp->l_ioevent);
2260 LCACHE_UNLOCK(flags); 2262 LCACHE_UNLOCK(flags);
2263 return;
2261 } 2264 }
2262 2265
2263 tail = log->wqueue; 2266 tail = log->wqueue;