Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d8fe642 authored by Dave Kleikamp's avatar Dave Kleikamp Committed by Linus Torvalds
Browse files

JFS: Bio cleanup: Replace missing return statements



commit e30408b2 ("JFS: fix bio-related
build breakage") removed some "return 0;" statements, rather than
changing them to null returns.

Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ffb03559
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;