mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
JFS: Bio cleanup: Replace missing return statements
commit e30408b2a9 ("JFS: fix bio-related
build breakage") removed some "return 0;" statements, rather than
changing them to null returns.
Signed-off-by: Dave Kleikamp <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ffb035591f
commit
8d8fe64237
1 changed files with 3 additions and 0 deletions
|
|
@ -2234,6 +2234,8 @@ static void lbmIODone(struct bio *bio, int error)
|
|||
|
||||
/* wakeup I/O initiator */
|
||||
LCACHE_WAKEUP(&bp->l_ioevent);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -2258,6 +2260,7 @@ static void lbmIODone(struct bio *bio, int error)
|
|||
if (bp->l_flag & lbmDIRECT) {
|
||||
LCACHE_WAKEUP(&bp->l_ioevent);
|
||||
LCACHE_UNLOCK(flags);
|
||||
return;
|
||||
}
|
||||
|
||||
tail = log->wqueue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue